Sfoglia il codice sorgente

- make sure that sstrip is available early enough

Bernhard Reutner-Fischer 18 anni fa
parent
commit
11b82356cf
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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