From: Bernhard Reutner-Fischer Date: Tue, 10 Jul 2007 11:34:22 +0000 (-0000) Subject: - fix building sstrip X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60a17626c52e1094c098e2cb317659c046ab0b18;p=buildroot.git - fix building sstrip --- diff --git a/toolchain/sstrip/sstrip.mk b/toolchain/sstrip/sstrip.mk index cb1bed534c..1121521a37 100644 --- a/toolchain/sstrip/sstrip.mk +++ b/toolchain/sstrip/sstrip.mk @@ -15,11 +15,12 @@ SSTRIP_SOURCE_FILE:=$(TOPDIR)/toolchain/sstrip/sstrip.c SSTRIP_HOST:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip $(SSTRIP_HOST): $(SSTRIP_SOURCE_FILE) + -mkdir -p $(@D) $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin + $(HOSTCC) $(CFLAGS_FOR_BUILD) $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST) ln -snf ../../bin/$(REAL_GNU_TARGET_NAME)-sstrip \ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/sstrip ln -snf $(REAL_GNU_TARGET_NAME)-sstrip \ $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-sstrip - $(HOSTCC) $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST) sstrip_host: $(SSTRIP_HOST)