[Buildroot] svn commit: trunk/buildroot/toolchain/dependencies

aldot at uclibc.org aldot at uclibc.org
Tue Aug 21 20:14:24 UTC 2007


Author: aldot
Date: 2007-08-21 13:14:23 -0700 (Tue, 21 Aug 2007)
New Revision: 19631

Log:
- make sure that sstrip is available early enough


Modified:
   trunk/buildroot/toolchain/dependencies/dependencies.mk


Changeset:
Modified: trunk/buildroot/toolchain/dependencies/dependencies.mk
===================================================================
--- trunk/buildroot/toolchain/dependencies/dependencies.mk	2007-08-21 19:45:17 UTC (rev 19630)
+++ trunk/buildroot/toolchain/dependencies/dependencies.mk	2007-08-21 20:14:23 UTC (rev 19631)
@@ -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




More information about the buildroot mailing list