summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-03-13 11:03:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-03-13 11:03:53 +0000
commit7d9818cb47fbbc12f47c3a6f1374c79c210b99e8 (patch)
tree6cabecc8e1d4b708cd17e9558cc5c0687a123a19 /configure.ac
parent2003-03-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-7d9818cb47fbbc12f47c3a6f1374c79c210b99e8.tar.bz2
2003-03-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Fix broken comments. Add hidden option --enable-experimental. * README.cdn-X: Update. * configure.ac: Build tools/build as host and build-host tools to accomodate those BSPs applying packhex in <BSP>.cfg. Build tools/cpu as build-host tools.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ca97f52452..f419d76d2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,12 @@ fi
## * tools/cpu are host-native or host-cross-target-tools
RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
-RTEMS_HOST_CONFIG_SUBDIRS([tools/cpu])
+RTEMS_BUILD_CONFIG_SUBDIRS([tools/cpu])
+
+# Some BSPs carelessly apply these tools as build-tools
+AS_IF([test $host != $build],[
+RTEMS_BUILD_CONFIG_SUBDIRS([tools/build])
+])
AS_IF([test x"${enable_docs}" = x"yes"],
[RTEMS_HOST_CONFIG_SUBDIRS([doc])])