From 14ff0c386665f731aab72e6e70fbebdd5a60742e Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 19 May 2005 23:12:35 +0000 Subject: Use TARGET_CFLAGS, strip at package time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@983 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/cifsmount/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openwrt/package/cifsmount') diff --git a/openwrt/package/cifsmount/Makefile b/openwrt/package/cifsmount/Makefile index d0d186a8d3..2cb64d45fc 100644 --- a/openwrt/package/cifsmount/Makefile +++ b/openwrt/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) -- cgit v1.2.3