diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-19 23:12:35 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-19 23:12:35 +0000 |
commit | 89975f2ba90b555a3f6f93d4b5cc4bf23496bcde (patch) | |
tree | b3c2f209ef9a441a807ae655dbb2665ba4c4766d /package | |
parent | 5c1f37d4505058e240df4a95abf78703d02e491e (diff) |
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')
-rw-r--r-- | package/cifsmount/Makefile | 8 | ||||
-rw-r--r-- | package/robocfg/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/package/cifsmount/Makefile b/package/cifsmount/Makefile index d0d186a8d..2cb64d45f 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) diff --git a/package/robocfg/Makefile b/package/robocfg/Makefile index bc68f8905..6f511c043 100644 --- a/package/robocfg/Makefile +++ b/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) |