diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-17 15:53:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-17 15:53:40 +0000 |
commit | eba5dc6b44e2a0cfae0e3e83c97fb58e3a1b22f5 (patch) | |
tree | 28e9d897e9b483eb6ce82843912fbd96266c335f /aclocal | |
parent | 2009-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-eba5dc6b44e2a0cfae0e3e83c97fb58e3a1b22f5.tar.bz2 |
Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1".
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/check-custom-bsp.m4 | 6 |
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]) ]) |