summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/src/aclocal/check-custom-bsp.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/aclocal/check-custom-bsp.m4 b/c/src/aclocal/check-custom-bsp.m4
index db04111cf9..469fbec901 100644
--- a/c/src/aclocal/check-custom-bsp.m4
+++ b/c/src/aclocal/check-custom-bsp.m4
@@ -1,8 +1,8 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
- for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/$1 \
- ${srcdir}/${RTEMS_TOPdir}/make/custom/$1;
+ for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/$1.cfg \
+ "${srcdir}/${RTEMS_TOPdir}/make/custom/"$1.cfg;
do
AC_MSG_CHECKING([for $i])
AS_IF([test -r $i],[
@@ -17,7 +17,7 @@ AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
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])
AS_IF([test -z "$BSP_FOUND"],[
AC_MSG_ERROR([missing [$]$1.cfg])
])