diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-11-22 19:15:18 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-11-27 22:40:24 +0100 |
commit | cb3fc7ff18545412827cb017818890eda7e2f564 (patch) | |
tree | 7e2e7ebcfa83fd21f6430b866e38cf64e54c62c8 /Makefile.fetch | |
parent | e80393462d62be97d7efabaf1b17e269efb37637 (diff) |
download also tarballs needed for build platform
Change-Id: I21fc00bd0b5acfd81e378d2e3c0ceb976b8f2a4e
Diffstat (limited to 'Makefile.fetch')
-rw-r--r-- | Makefile.fetch | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.fetch b/Makefile.fetch index be434a60d061..eb0e35d5db5e 100644 --- a/Makefile.fetch +++ b/Makefile.fetch @@ -45,8 +45,13 @@ $(call fetch_Download__checksum_command,$2,$(firstword $(subst -, ,$2))) \ endef +fetch_BUILD_TYPE := $(sort $(BUILD_TYPE)) +ifeq ($(CROSS_COMPILING),YES) +fetch_BUILD_TYPE := $(sort $(fetch_BUILD_TYPE) $(shell . $(SRCDIR)/bin/get_config_variables --build BUILD_TYPE && echo $$BUILD_TYPE)) +endif + define fetch_Optional -$(if $(filter ALL,$(DO_FETCH_TARBALLS))$(filter $1,$(BUILD_TYPE)),$2) +$(if $(filter ALL,$(DO_FETCH_TARBALLS))$(filter $1,$(fetch_BUILD_TYPE)),$2) endef fetch : |