summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies/dependencies.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/dependencies/dependencies.mk')
-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