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> SVN-Revision: 9661
This commit is contained in:
@@ -37,11 +37,11 @@ endef
|
||||
|
||||
define Build/InstallDev
|
||||
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
|
||||
$(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
|
||||
$(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
|
||||
|
||||
define Build/UninstallDev
|
||||
|
||||
Reference in New Issue
Block a user