summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-09 10:25:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-09 10:25:28 +0000
commit3f7467606550930cd0e3a7ac9d31647d66d3c9de (patch)
treef3d5bb88eca0b0cbc5a218016c7214d07804f6b8 /c
parent2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3f7467606550930cd0e3a7ac9d31647d66d3c9de.tar.bz2
2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Reflect changes to testsuites.
Diffstat (limited to 'c')
-rw-r--r--c/src/ChangeLog4
-rw-r--r--c/src/configure.ac20
2 files changed, 22 insertions, 2 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index a287fc17e1..af4fede880 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * configure.ac: Reflect changes to testsuites.
+
2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* automake/compile.am: Remove GCCSPECS.
diff --git a/c/src/configure.ac b/c/src/configure.ac
index 032e6ace36..95ebec312d 100644
--- a/c/src/configure.ac
+++ b/c/src/configure.ac
@@ -183,15 +183,31 @@ RTEMS_BSP_CONFIG_SUBDIR(
],
[test x"$enable_tests" = xyes && test x"$enable_ada" = xyes])
+# HACK ALERT!
+
+# FIXME: Assume multilib implies in-source-tree multilibs
+# Build testsuites multilibbed
RTEMS_BSP_CONFIG_SUBDIR(
[testsuites],[../../testsuites],
['--enable-rtems-root=../' \
- '--with-project-root=${with_project_root}../' \
+ '--enable-project-root=${with_project_root}../$RTEMS_BSP' \
+ '--with-project-top=${with_project_top}../' \
+ '--enable-rtemsbsp=$RTEMS_BSP' \
+ 'CFLAGS="${CFLAGS}"' \
+ ],
+ [test x"$enable_tests" != x"no" && test x"$multilib" = xno])
+
+# Build testsuites non-multilibbed
+RTEMS_BSP_CONFIG_SUBDIR(
+ [testsuites],[../../testsuites],
+ ['--enable-rtems-root=../' \
+ '--enable-cpukit-root=${with_project_root}..' \
+ '--enable-project-root=${with_project_root}../$RTEMS_BSP' \
'--with-project-top=${with_project_top}../' \
'--enable-rtemsbsp=$RTEMS_BSP' \
'CFLAGS="${CFLAGS}"' \
],
- [test x"$enable_tests" != x"no"])
+ [test x"$enable_tests" != x"no" && test x"$multilib" = xyes])
AC_SUBST([BSP_SUBDIRS],[$BSP_SUBDIRS])