summaryrefslogtreecommitdiffstats
path: root/aclocal/check-custom-bsp.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-17 15:53:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-17 15:53:40 +0000
commiteba5dc6b44e2a0cfae0e3e83c97fb58e3a1b22f5 (patch)
tree28e9d897e9b483eb6ce82843912fbd96266c335f /aclocal/check-custom-bsp.m4
parentb221e9d88561bb9db9bf7365972f73c41e8e6b15 (diff)
downloadrtems-eba5dc6b44e2a0cfae0e3e83c97fb58e3a1b22f5.tar.bz2
Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1".
Diffstat (limited to 'aclocal/check-custom-bsp.m4')
-rw-r--r--aclocal/check-custom-bsp.m46
1 files changed, 2 insertions, 4 deletions
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])
])