From d04abc83d94dbc2a948910eed6fa520f3e19d90c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 25 Mar 2004 10:36:41 +0000 Subject: 2004-03-25 Ralf Corsepius * aclocal/rtems-top.m4: Add rtems_rootdir. * aclocal/check-custom-bsp.m4: Check for $RTEMS_BSP.cfg in $rtems_rootdir. --- testsuites/ChangeLog | 5 +++++ testsuites/aclocal/check-custom-bsp.m4 | 3 +-- testsuites/aclocal/rtems-top.m4 | 10 +++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'testsuites') diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index 2522adc9bc..dbb7306c63 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -1,3 +1,8 @@ +2004-03-25 Ralf Corsepius + + * aclocal/rtems-top.m4: Add rtems_rootdir. + * aclocal/check-custom-bsp.m4: Check for $RTEMS_BSP.cfg in $rtems_rootdir. + 2004-03-25 Ralf Corsepius * aclocal/rtems-top.m4: Add 2nd arg to RTEMS_TOP. diff --git a/testsuites/aclocal/check-custom-bsp.m4 b/testsuites/aclocal/check-custom-bsp.m4 index 402656f3a0..54402d8e4e 100644 --- a/testsuites/aclocal/check-custom-bsp.m4 +++ b/testsuites/aclocal/check-custom-bsp.m4 @@ -1,8 +1,7 @@ dnl $Id$ AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ - for i in ${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}/*/$1 \ - ${srcdir}/${RTEMS_TOPdir}/make/custom/$1; + for i in ${rtems_rootdir}/make/custom/$1; do AC_MSG_CHECKING([for $i]) AS_IF([test -r $i],[ diff --git a/testsuites/aclocal/rtems-top.m4 b/testsuites/aclocal/rtems-top.m4 index 9c5072f526..5ecd9c0e37 100644 --- a/testsuites/aclocal/rtems-top.m4 +++ b/testsuites/aclocal/rtems-top.m4 @@ -29,13 +29,17 @@ AC_ARG_ENABLE([rtems-root],[ AS_HELP_STRING(--enable-rtems-root,directory containing make/custom)], [case ${enable_rtems_root} in [[\\/$]]* | ?:[[\\/]]* ) # absolute directory - RTEMS_ROOT=${enable_rtems_root} + rtems_rootdir=${enable_rtems_root} + RTEMS_RTEMS=${enable_rtems_root} ;; *) # relative directory + rtems_rootdir=${enable_rtems_root}${rtems_updir} RTEMS_ROOT=${enable_rtems_root}${rtems_updir}'$(top_builddir)' ;; -esac], -[RTEMS_ROOT=${rtems_updir}'$(top_builddir)']) +esac],[ +rtems_rootdir=${rtems_updir} +RTEMS_ROOT=${rtems_updir}'$(top_builddir)' +]) AC_SUBST([RTEMS_ROOT]) AC_SUBST([PROJECT_TOPdir],[${with_project_top}${rtems_updir}'$(top_builddir)']) -- cgit v1.2.3