mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -23,7 +23,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/jffs2root
|
||||
|
||||
$(IDIR_OPENWRT)/sbin/jffs2root: $(PKG_BUILD_DIR)/jffs2root
|
||||
mkdir -p $(IDIR_OPENWRT)/sbin
|
||||
cp $(PKG_BUILD_DIR)/jffs2root $(IDIR_OPENWRT)/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/jffs2root $(IDIR_OPENWRT)/sbin
|
||||
|
||||
$(IPKG_OPENWRT): $(IDIR_OPENWRT)/sbin/jffs2root
|
||||
endif
|
||||
@@ -36,7 +36,7 @@ $(IDIR_OPENWRT):
|
||||
$(SED) s,base-files-arch,base-files-$(BOARD)-$(KERNEL),g $(IDIR_OPENWRT)/CONTROL/control
|
||||
|
||||
$(IPKG_OPENWRT): $(IDIR_OPENWRT)
|
||||
[ -d files/$(BOARD)-$(KERNEL) ] && cp -fpR files/$(BOARD)-$(KERNEL)/* $(IDIR_OPENWRT)/
|
||||
[ -d files/$(BOARD)-$(KERNEL) ] && $(CP) -fpR files/$(BOARD)-$(KERNEL)/* $(IDIR_OPENWRT)/
|
||||
find $(IDIR_OPENWRT) -name CVS | xargs rm -rf
|
||||
find $(IDIR_OPENWRT) -name .svn | xargs rm -rf
|
||||
$(RSTRIP) $(IDIR_OPENWRT)
|
||||
@@ -50,4 +50,4 @@ openwrt-install:
|
||||
compile-targets: install-dev $(IPKG_OPENWRT)
|
||||
install-dev:
|
||||
mkdir -p $(STAGING_DIR)/usr/include
|
||||
cp -fpR ./include/[a-z]* $(STAGING_DIR)/usr/include/
|
||||
$(CP) ./include/[a-z]* $(STAGING_DIR)/usr/include/
|
||||
|
||||
@@ -26,7 +26,7 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
|
||||
$(PKG_BUILD_DIR)/fwcutter/.built:
|
||||
mkdir -p $(PKG_BUILD_DIR)/fwcutter
|
||||
cp ./fwcutter/* $(PKG_BUILD_DIR)/fwcutter/
|
||||
$(CP) ./fwcutter/* $(PKG_BUILD_DIR)/fwcutter/
|
||||
$(SCRIPT_DIR)/download.pl "$(PKG_BUILD_DIR)/fwcutter" "$(FIRMWARE_BLOB)" "$(FIRMWARE_BLOB_MD5SUM)" $(FIRMWARE_BLOB_URL)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/fwcutter
|
||||
$(PKG_BUILD_DIR)/fwcutter/fwcutter -w $(PKG_BUILD_DIR)/fwcutter $(PKG_BUILD_DIR)/fwcutter/$(FIRMWARE_BLOB)
|
||||
@@ -50,7 +50,7 @@ $(IPKG_KMOD_BCM43XX_DSCAPE):
|
||||
echo rate_control; \
|
||||
echo bcm43xx; \
|
||||
) >& $(IDIR_KMOD_BCM43XX_DSCAPE)/etc/modules.d/50-bcm43xx
|
||||
cp -fpR $(PKG_BUILD_DIR)/*.ko $(IDIR_KMOD_BCM43XX_DSCAPE)/lib/modules/$(LINUX_VERSION)
|
||||
$(CP) $(PKG_BUILD_DIR)/*.ko $(IDIR_KMOD_BCM43XX_DSCAPE)/lib/modules/$(LINUX_VERSION)
|
||||
install -m0755 -d $(IDIR_KMOD_BCM43XX_DSCAPE)/lib/firmware
|
||||
cp -fpR $(PKG_BUILD_DIR)/fwcutter/*.fw $(IDIR_KMOD_BCM43XX_DSCAPE)/lib/firmware/
|
||||
$(CP) $(PKG_BUILD_DIR)/fwcutter/*.fw $(IDIR_KMOD_BCM43XX_DSCAPE)/lib/firmware/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_BCM43XX_DSCAPE) $(PACKAGE_DIR)
|
||||
|
||||
@@ -27,5 +27,5 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_DIAG):
|
||||
mkdir -p $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)
|
||||
cp $(PKG_BUILD_DIR)/diag.o $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)/
|
||||
$(CP) $(PKG_BUILD_DIR)/diag.o $(IDIR_KMOD_DIAG)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_DIAG) $(PACKAGE_DIR)
|
||||
|
||||
@@ -74,7 +74,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_FUSE):
|
||||
mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_FUSE) $(PACKAGE_DIR)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_HOSTAP):
|
||||
install -m0755 -d $(IDIR_KMOD_HOSTAP)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR \
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/driver/modules/hostap.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/driver/modules/hostap_crypt_ccmp.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/driver/modules/hostap_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
|
||||
@@ -44,14 +44,14 @@ $(IPKG_KMOD_HOSTAP):
|
||||
|
||||
$(IPKG_KMOD_HOSTAP_PCI):
|
||||
install -m0755 -d $(IDIR_KMOD_HOSTAP_PCI)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR \
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/driver/modules/hostap_pci.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_HOSTAP_PCI)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_HOSTAP_PCI) $(PACKAGE_DIR)
|
||||
|
||||
$(IPKG_KMOD_HOSTAP_PLX):
|
||||
install -m0755 -d $(IDIR_KMOD_HOSTAP_PLX)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR \
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/driver/modules/hostap_plx.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_HOSTAP_PLX)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_HOSTAP_PLX) $(PACKAGE_DIR)
|
||||
|
||||
@@ -13,7 +13,7 @@ $(eval $(call PKG_template,KMOD_IEEE80211_DSCAPE,$(PKG_NAME),$(LINUX_VERSION)-$(
|
||||
|
||||
$(PKG_BUILD_DIR)/.prepared:
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
cp -fpR ./src/* $(PKG_BUILD_DIR)/
|
||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
@@ -32,12 +32,12 @@ $(PKG_BUILD_DIR)/.built:
|
||||
$(IPKG_KMOD_IEEE80211_DSCAPE):
|
||||
install -m0755 -d $(IDIR_KMOD_IEEE80211_DSCAPE)/lib/modules/$(LINUX_VERSION)
|
||||
#install -m0755 -d $(IDIR_KMOD_IEEE80211_DSCAPE)/etc/modules.d
|
||||
cp -fpR $(PKG_BUILD_DIR)/*.ko $(IDIR_KMOD_IEEE80211_DSCAPE)/lib/modules/$(LINUX_VERSION)
|
||||
$(CP) $(PKG_BUILD_DIR)/*.ko $(IDIR_KMOD_IEEE80211_DSCAPE)/lib/modules/$(LINUX_VERSION)
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_IEEE80211_DSCAPE) $(PACKAGE_DIR)
|
||||
|
||||
install-dev:
|
||||
mkdir -p $(STAGING_DIR)/usr/include/ieee80211-dscape
|
||||
cp -fpR src/include/* $(STAGING_DIR)/usr/include/ieee80211-dscape/
|
||||
$(CP) src/include/* $(STAGING_DIR)/usr/include/ieee80211-dscape/
|
||||
|
||||
uninstall-dev:
|
||||
rm -rf $(STAGING_DIR)/usr/include/ieee80211-dscape
|
||||
|
||||
@@ -77,20 +77,20 @@ $(IPKG_KMOD_MADWIFI):
|
||||
mkdir -p $(IDIR_KMOD_MADWIFI)/usr/sbin
|
||||
install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI)/etc/modules.d/20-madwifi
|
||||
install -m0755 ./files/madwifi.init $(IDIR_KMOD_MADWIFI)/etc/init.d/S20madwifi
|
||||
cp -fpR $(PKG_BUILD_DIR)/net80211/wlan*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_BUILD_DIR)/net80211/wlan*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/ath_hal/ath_hal.$(LINUX_KMOD_SUFFIX) \
|
||||
$(BUS_MODULES) \
|
||||
$(PKG_BUILD_DIR)/ath_rate/sample/ath_rate_sample.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/net80211/*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_MADWIFI)/lib/modules/$(LINUX_VERSION)/
|
||||
cp -fpR $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(IDIR_KMOD_MADWIFI)/usr/sbin/
|
||||
$(CP) $(PKG_BUILD_DIR)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(IDIR_KMOD_MADWIFI)/usr/sbin/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR)
|
||||
|
||||
$(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h: $(PKG_BUILD_DIR)/.built
|
||||
mkdir -p $(STAGING_DIR)/usr/include/madwifi
|
||||
cp -fpR $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi/
|
||||
$(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr/include/madwifi/
|
||||
mkdir -p $(STAGING_DIR)/usr/include/madwifi/net80211
|
||||
cp -fpR $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi/net80211/
|
||||
$(CP) $(PKG_BUILD_DIR)/net80211/*.h $(STAGING_DIR)/usr/include/madwifi/net80211/
|
||||
touch $@
|
||||
|
||||
install-dev: $(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h
|
||||
|
||||
@@ -35,7 +35,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
$(IPKG_KMOD_MINI_FO):
|
||||
install -m0755 -d $(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION)
|
||||
install -m0755 -d $(IDIR_KMOD_MINI_FO)/etc/modules.d
|
||||
cp -fpR $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION)/
|
||||
echo "mini_fo" > $(IDIR_KMOD_MINI_FO)/etc/modules.d/15-mini-fo
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_MINI_FO) $(PACKAGE_DIR)
|
||||
|
||||
@@ -32,5 +32,5 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_OPENSWAN):
|
||||
mkdir -p $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR $(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX) $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)/
|
||||
$(CP) $(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX) $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_OPENSWAN) $(PACKAGE_DIR)
|
||||
|
||||
@@ -40,7 +40,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_SHFS):
|
||||
install -m0755 -d $(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_SHFS) $(PACKAGE_DIR)
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_SPCA5XX):
|
||||
install -m0755 -d $(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)/
|
||||
$(RSTRIP_KMOD) $(IDIR_KMOD_SPCA5XX)
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_SPCA5XX) $(PACKAGE_DIR)
|
||||
|
||||
@@ -13,7 +13,7 @@ $(eval $(call PKG_template,KMOD_SWITCH,$(PKG_NAME),$(LINUX_VERSION)-$(BOARD)-$(P
|
||||
|
||||
$(PKG_BUILD_DIR)/.prepared:
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
cp -fpR ./src/* $(PKG_BUILD_DIR)/
|
||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
@@ -31,7 +31,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_SWITCH):
|
||||
install -m0755 -d $(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
|
||||
cp -fpR $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_SWITCH) $(PACKAGE_DIR)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
$(IPKG_KMOD_UEAGLE_ATM):
|
||||
install -m0755 -d $(IDIR_KMOD_UEAGLE_ATM)/lib/modules/$(LINUX_VERSION) $(IDIR_KMOD_UEAGLE_ATM)/etc/modules.d
|
||||
install -m0644 ./files/$(PKG_NAME).modules $(IDIR_KMOD_UEAGLE_ATM)/etc/modules.d/10-$(PKG_NAME)
|
||||
cp -fpR $(PKG_BUILD_DIR)/driver/ueagle-atm.$(LINUX_KMOD_SUFFIX) \
|
||||
$(CP) $(PKG_BUILD_DIR)/driver/ueagle-atm.$(LINUX_KMOD_SUFFIX) \
|
||||
$(PKG_BUILD_DIR)/usbatm_iso/usbatm.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_UEAGLE_ATM)/lib/modules/$(LINUX_VERSION)/
|
||||
$(RSTRIP_KMOD) $(IDIR_KMOD_UEAGLE_ATM)
|
||||
|
||||
@@ -33,11 +33,11 @@ $(IPKG_KMOD_WLCOMPAT): $(PKG_BUILD_DIR)/wlcompat.o
|
||||
mkdir -p $(IDIR_KMOD_WLCOMPAT)/etc/modules.d
|
||||
echo "wlcompat" > $(IDIR_KMOD_WLCOMPAT)/etc/modules.d/30-wlcompat
|
||||
mkdir -p $(IDIR_KMOD_WLCOMPAT)/lib/modules/$(LINUX_VERSION)
|
||||
cp $(PKG_BUILD_DIR)/wlcompat.o $(IDIR_KMOD_WLCOMPAT)/lib/modules/$(LINUX_VERSION)/
|
||||
$(CP) $(PKG_BUILD_DIR)/wlcompat.o $(IDIR_KMOD_WLCOMPAT)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_WLCOMPAT) $(PACKAGE_DIR)
|
||||
|
||||
$(IPKG_KMOD_WLCOMPAT_DEBUG): $(PKG_BUILD_DIR)/wlcompat-debug.o
|
||||
mkdir -p $(IDIR_KMOD_WLCOMPAT_DEBUG)/lib/modules/$(LINUX_VERSION)
|
||||
cp $(PKG_BUILD_DIR)/wlcompat-debug.o $(IDIR_KMOD_WLCOMPAT_DEBUG)/lib/modules/$(LINUX_VERSION)/
|
||||
$(CP) $(PKG_BUILD_DIR)/wlcompat-debug.o $(IDIR_KMOD_WLCOMPAT_DEBUG)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_WLCOMPAT_DEBUG) $(PACKAGE_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user