summaryrefslogtreecommitdiffstats
path: root/toolchain/sstrip
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-24 20:49:31 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-24 20:49:31 +0000
commit8afb23270d23db6a033ba8fb77e1cf1a1d925a7c (patch)
treeb7ed2e950b1b35de067464525dccaf95f2876cfd /toolchain/sstrip
parent1d072248383ae47bd68032d69bd86cc060796ef4 (diff)
new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/sstrip')
-rw-r--r--toolchain/sstrip/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolchain/sstrip/Makefile b/toolchain/sstrip/Makefile
index 49983e912..dc3ff4f6d 100644
--- a/toolchain/sstrip/Makefile
+++ b/toolchain/sstrip/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/host-build.mk
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/sstrip
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
OS:=$(shell uname)
ifeq ($(OS),Darwin)
-CFLAGS += -I./include
+ CFLAGS += -I./include
endif
define Build/Compile
@@ -19,7 +19,8 @@ define Build/Compile
endef
define Build/Install
- $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin
+ mkdir -p $(STAGING_DIR)/bin
+ $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin/
endef
define Build/Clean