aboutsummaryrefslogtreecommitdiffstats
path: root/package/cifsmount
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-19 23:12:35 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-19 23:12:35 +0000
commitf8b1ad8dd6de9d547fdfca70230217c4e7b66494 (patch)
treeb3c2f209ef9a441a807ae655dbb2665ba4c4766d /package/cifsmount
parentbbcc022db79282d67a89d5e2f754b05ec5f40027 (diff)
downloadupstream-f8b1ad8dd6de9d547fdfca70230217c4e7b66494.tar.gz
upstream-f8b1ad8dd6de9d547fdfca70230217c4e7b66494.tar.bz2
upstream-f8b1ad8dd6de9d547fdfca70230217c4e7b66494.zip
Use TARGET_CFLAGS, strip at package time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/cifsmount')
-rw-r--r--package/cifsmount/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/cifsmount/Makefile b/package/cifsmount/Makefile
index d0d186a8d3..2cb64d45fc 100644
--- a/package/cifsmount/Makefile
+++ b/package/cifsmount/Makefile
@@ -20,11 +20,11 @@ $(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(TARGET_CC) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
- $(STRIP) $(PKG_BUILD_DIR)/mount.cifs
+ $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
touch $@
$(IPKG_CIFSMOUNT):
- mkdir -p $(IDIR_CIFSMOUNT)/sbin
- install -m 0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/mount.cifs
+ install -d -m0755 $(IDIR_CIFSMOUNT)/sbin
+ install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/
+ $(RSTRIP) $(IDIR_CIFSMOUNT)
$(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)