summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--testsuites/ChangeLog4
-rw-r--r--testsuites/aclocal/check-custom-bsp.m43
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog
index 6dfe0f124b..60358a41da 100644
--- a/testsuites/ChangeLog
+++ b/testsuites/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * aclocal/check-custom-bsp.m4: Fix up AC_REQUIRES.
+
2009-10-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4: Remove RTEMS_HOST (unused).
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])