Use TARGET_CFLAGS, strip at package time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@983 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
bbcc022db7
commit
f8b1ad8dd6
|
@ -20,11 +20,11 @@ $(PKG_BUILD_DIR)/.configured:
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(TARGET_CC) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
|
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
|
||||||
$(STRIP) $(PKG_BUILD_DIR)/mount.cifs
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_CIFSMOUNT):
|
$(IPKG_CIFSMOUNT):
|
||||||
mkdir -p $(IDIR_CIFSMOUNT)/sbin
|
install -d -m0755 $(IDIR_CIFSMOUNT)/sbin
|
||||||
install -m 0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/mount.cifs
|
install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/
|
||||||
|
$(RSTRIP) $(IDIR_CIFSMOUNT)
|
||||||
$(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)
|
||||||
|
|
|
@ -17,11 +17,11 @@ $(PKG_BUILD_DIR)/.prepared:
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
|
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c
|
||||||
$(STRIP) $(PKG_BUILD_DIR)/robocfg
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_ROBOCFG):
|
$(IPKG_ROBOCFG):
|
||||||
mkdir -p $(IDIR_ROBOCFG)/sbin
|
install -d -m0755 $(IDIR_ROBOCFG)/sbin
|
||||||
install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg
|
install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
|
||||||
|
$(RSTRIP) $(IDIR_ROBOCFG)
|
||||||
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
|
||||||
|
|
Loading…
Reference in New Issue