summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/rtems-top.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-25 10:36:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-25 10:36:41 +0000
commitd04abc83d94dbc2a948910eed6fa520f3e19d90c (patch)
treebff51958ac48a5f282c7fb32814cbf98d02acfc9 /testsuites/aclocal/rtems-top.m4
parent2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d04abc83d94dbc2a948910eed6fa520f3e19d90c.tar.bz2
2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add rtems_rootdir. * aclocal/check-custom-bsp.m4: Check for $RTEMS_BSP.cfg in $rtems_rootdir.
Diffstat (limited to 'testsuites/aclocal/rtems-top.m4')
-rw-r--r--testsuites/aclocal/rtems-top.m410
1 files changed, 7 insertions, 3 deletions
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)'])