1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 02:53:44 +02:00

Use TARGET_CFLAGS, strip at package time

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@983 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-05-19 23:12:35 +00:00
parent 5c1f37d450
commit 89975f2ba9
2 changed files with 8 additions and 8 deletions

View File

@ -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)

View File

@ -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)