summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-10 11:34:22 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-10 11:34:22 +0000
commit60a17626c52e1094c098e2cb317659c046ab0b18 (patch)
treec8a784f9e33d791d96841251bbe31527c9986220
parent5ff7c496e776c3ec8b5876db57a14d016db8c55e (diff)
downloadbuildroot-novena-60a17626c52e1094c098e2cb317659c046ab0b18.tar.gz
buildroot-novena-60a17626c52e1094c098e2cb317659c046ab0b18.zip
- fix building sstrip
-rw-r--r--toolchain/sstrip/sstrip.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/sstrip/sstrip.mk b/toolchain/sstrip/sstrip.mk
index cb1bed534..1121521a3 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)