Browse Source

- make sure that sstrip is available early enough

Bernhard Reutner-Fischer 18 năm trước cách đây
mục cha
commit
11b82356cf
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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