Pārlūkot izejas kodu

- make sure that sstrip is available early enough

Bernhard Reutner-Fischer 18 gadi atpakaļ
vecāks
revīzija
11b82356cf
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      toolchain/dependencies/dependencies.mk

+ 5 - 1
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