summaryrefslogtreecommitdiff
path: root/toolchain/dependencies
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 20:14:23 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 20:14:23 +0000
commit11b82356cfd2d08767dc2f0c1dfefadc7169e7e5 (patch)
tree13785a81f3f0131195c6ee3abe430677435a4d97 /toolchain/dependencies
parent0674661f01ce87f8b1d9680ef8dc73693675e15c (diff)
- make sure that sstrip is available early enough
Diffstat (limited to 'toolchain/dependencies')
-rw-r--r--toolchain/dependencies/dependencies.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/dependencies/dependencies.mk b/toolchain/dependencies/dependencies.mk
index b18ffc050..4af03b8f8 100644
--- a/toolchain/dependencies/dependencies.mk
+++ b/toolchain/dependencies/dependencies.mk
@@ -5,7 +5,11 @@
#
######################################################################
-dependencies: host-sed host-lzma
+ifeq ($(BR2_STRIP_sstrip),y)
+# XXX: this is a little bit ugly, yep.
+MAYBE_SSTRIP_HOST:=sstrip_host
+endif
+dependencies: host-sed host-lzma $(MAYBE_SSTRIP_HOST)
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
HOST_SED_DIR="$(HOST_SED_DIR)" \
$(TOPDIR)/toolchain/dependencies/dependencies.sh