summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-12-04 20:23:04 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-04 20:27:21 +0100
commit2c6390a5d0c01420879e9f23bc89afb19976da4a (patch)
tree620d0960678c6265eb1dbe93b3742ad8a0dc2ffe /toolchain/dependencies
parent2dda9ea0d31d30c990a2cb76b764e80c4ed06ca3 (diff)
downloadbuildroot-novena-2c6390a5d0c01420879e9f23bc89afb19976da4a.tar.gz
buildroot-novena-2c6390a5d0c01420879e9f23bc89afb19976da4a.zip
dependencies: check for extract tools as well
Most of the extract tools (gzip/bzip/..) we already check for explicitly in dependencies.sh (as they are used outside GENTARGETS), but not for xzcat. The .xz format is used fairly rarely, and it is likely to not be available on build hosts, so an explicit (hardcoded) check for it isn't optimal. Instead, add the inflate tools used to DL_TOOLS_DEPENDENCIES, similar to how we do it for svn/git/bzr/... Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/dependencies')
-rw-r--r--toolchain/dependencies/dependencies.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/toolchain/dependencies/dependencies.mk b/toolchain/dependencies/dependencies.mk
index 24d66663b..ea8bf252b 100644
--- a/toolchain/dependencies/dependencies.mk
+++ b/toolchain/dependencies/dependencies.mk
@@ -10,16 +10,10 @@ ifeq ($(BR2_STRIP_sstrip),y)
DEPENDENCIES_HOST_PREREQ+=host-sstrip
endif
-# Remove duplicate entries from $(DL_TOOLS_DEPENDENCIES)
-DL_TOOLS = \
- $(findstring svn,$(DL_TOOLS_DEPENDENCIES)) \
- $(findstring git,$(DL_TOOLS_DEPENDENCIES)) \
- $(findstring bzr,$(DL_TOOLS_DEPENDENCIES))
-
core-dependencies:
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
CONFIG_FILE="$(CONFIG_DIR)/.config" \
- DL_TOOLS="$(DL_TOOLS)" \
+ DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \
$(TOPDIR)/toolchain/dependencies/dependencies.sh
dependencies: core-dependencies $(DEPENDENCIES_HOST_PREREQ)