diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 10:25:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 10:25:28 +0000 |
commit | 3f7467606550930cd0e3a7ac9d31647d66d3c9de (patch) | |
tree | f3d5bb88eca0b0cbc5a218016c7214d07804f6b8 /c/src/configure.ac | |
parent | 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3f7467606550930cd0e3a7ac9d31647d66d3c9de.tar.bz2 |
2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Reflect changes to testsuites.
Diffstat (limited to 'c/src/configure.ac')
-rw-r--r-- | c/src/configure.ac | 20 |
1 files changed, 18 insertions, 2 deletions
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]) |