From: Bernhard Reutner-Fischer Date: Tue, 21 Aug 2007 20:14:23 +0000 (-0000) Subject: - make sure that sstrip is available early enough X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11b82356cfd2d08767dc2f0c1dfefadc7169e7e5;p=buildroot.git - make sure that sstrip is available early enough --- diff --git a/toolchain/dependencies/dependencies.mk b/toolchain/dependencies/dependencies.mk index b18ffc050b..4af03b8f8a 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