summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/check-custom-bsp.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-17 15:55:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-17 15:55:06 +0000
commit4f8237f1f2cb7f033cc83f0781e8429ded41550a (patch)
tree830eb0a31d8f9a56538d3a2876529fba0f6ea98c /testsuites/aclocal/check-custom-bsp.m4
parent2009-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4f8237f1f2cb7f033cc83f0781e8429ded41550a.tar.bz2
2009-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-custom-bsp.m4: Fix up AC_REQUIRES.
Diffstat (limited to 'testsuites/aclocal/check-custom-bsp.m4')
-rw-r--r--testsuites/aclocal/check-custom-bsp.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/aclocal/check-custom-bsp.m4 b/testsuites/aclocal/check-custom-bsp.m4
index c30a9ee9ed..173399313a 100644
--- a/testsuites/aclocal/check-custom-bsp.m4
+++ b/testsuites/aclocal/check-custom-bsp.m4
@@ -1,6 +1,8 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
+AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
+AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
for i in ${rtems_rootdir}make/custom/$1;
do
AC_MSG_CHECKING([for $i])
@@ -15,7 +17,6 @@ AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
])
AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
- AC_REQUIRE([RTEMS_TOP])
_RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
AS_IF([test -z "$BSP_FOUND"],[
AC_MSG_ERROR([missing [$]$1.cfg])