summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/check-custom-bsp.m4
diff options
context:
space:
mode:
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])