aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-08-19 13:34:38 +0159
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-08-19 13:34:38 +0159
commit1d1bbfc04a1190e507cffa9fea7cd60772498faf (patch)
treeed90f24b2d570b4ef50f5f16d06080114f90d16c
parentfdc15c705f71c351eb0af6cac58900efbbec0a48 (diff)
downloadbuild-1d1bbfc04a1190e507cffa9fea7cd60772498faf.tar.gz
Don't build bionic if the target isn't Android
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 8c39db4..36bb730 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -203,8 +203,13 @@ all: build
ifeq ($(ENABLE_GRAPHITE),yes)
build: install-host-cloog
endif
+ifneq (, $(findstring android,$(cur_target)))
build: build-target-binutils build-host-libbfd build-target-gcc \
build-target-gdb remove-bionic
+else
+build: build-target-binutils build-host-libbfd build-bootstrap-gcc \
+ install-bootstrap-gcc build-target-gdb
+endif
install: install-target-binutils install-host-libbfd install-target-gcc \
install-target-gdb