summaryrefslogtreecommitdiff
path: root/openwrt/package/robocfg
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 23:12:35 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 23:12:35 +0000
commit14ff0c386665f731aab72e6e70fbebdd5a60742e (patch)
treeb7b32bf02c07b6e08eaf74a539aa48c41f8a6064 /openwrt/package/robocfg
parent79f46a7d9c31a6fa429777bc6ca7f23fa1111a88 (diff)
Use TARGET_CFLAGS, strip at package time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/robocfg')
-rw-r--r--openwrt/package/robocfg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/robocfg/Makefile b/openwrt/package/robocfg/Makefile
index bc68f89058..6f511c0433 100644
--- a/openwrt/package/robocfg/Makefile
+++ b/openwrt/package/robocfg/Makefile
@@ -17,11 +17,11 @@ $(PKG_BUILD_DIR)/.prepared:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
- $(STRIP) $(PKG_BUILD_DIR)/robocfg
+ $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
touch $@
$(IPKG_ROBOCFG):
- mkdir -p $(IDIR_ROBOCFG)/sbin
- install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg
+ install -d -m0755 $(IDIR_ROBOCFG)/sbin
+ install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
+ $(RSTRIP) $(IDIR_ROBOCFG)
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)