mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 11:02:26 +02:00
Removed redundant '-r' flags for cp. Fixes compilation on BSD/Darwin.
$(CP) is defined as CP:="cp -fpR" Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9661 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
030c5d8f7e
commit
5c162aac1c
@ -30,7 +30,7 @@ endef
|
|||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
$(CP) -r src/* $(PKG_BUILD_DIR)/
|
$(CP) src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
@ -37,11 +37,11 @@ endef
|
|||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include
|
mkdir -p $(1)/usr/include
|
||||||
$(CP) -r $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
mkdir -p $(1)/usr/lib
|
||||||
$(CP) -r $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
mkdir -p $(1)/usr/lib/pkgconfig
|
||||||
$(CP) -r $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
|
@ -139,7 +139,7 @@ PKG_EXTRA_CFLAGS:= \
|
|||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
$(CP) -r src/* $(PKG_BUILD_DIR)/
|
$(CP) src/* $(PKG_BUILD_DIR)/
|
||||||
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW)
|
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW)
|
||||||
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW)
|
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW)
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user