diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-14 06:34:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-14 06:34:25 +0000 |
commit | ebc9ae02befe430074c5f0fd19c9764ec9da88ef (patch) | |
tree | 49350eec93c50da8549169897d5a1b5fa8bd6150 /c | |
parent | Remove make/custom/default.cfg-rule. (diff) | |
download | rtems-ebc9ae02befe430074c5f0fd19c9764ec9da88ef.tar.bz2 |
Change *.cfg handling.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/aclocal/check-custom-bsp.m4 | 6 |
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]) ]) |