From eba5dc6b44e2a0cfae0e3e83c97fb58e3a1b22f5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 17 Oct 2009 15:53:40 +0000 Subject: Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1". --- aclocal/check-custom-bsp.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'aclocal/check-custom-bsp.m4') diff --git a/aclocal/check-custom-bsp.m4 b/aclocal/check-custom-bsp.m4 index 6af9bd045d..55fbe08adc 100644 --- a/aclocal/check-custom-bsp.m4 +++ b/aclocal/check-custom-bsp.m4 @@ -6,8 +6,7 @@ AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir $2= AC_MSG_CHECKING([for $1]) for i in \ - "${srcdir}/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/make/custom/$1 \ - "${srcdir}/${RTEMS_TOPdir}/make/custom/$1"; + `ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`; do AS_IF([test -r $i],[ $2="$i" @@ -20,6 +19,5 @@ AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir ]) AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ - AC_REQUIRE([RTEMS_TOP]) - _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND]) + _RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND]) ]) -- cgit v1.2.3