summaryrefslogtreecommitdiffstats
path: root/toolchain/sstrip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/sstrip/Makefile')
-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