summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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])