X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5ef7471191922d05b08e520a05f4a7daeb22754b..475e0d886041b4345585e13f0c04bcb9af0c0c5a:/openwrt/package/curl/Makefile diff --git a/openwrt/package/curl/Makefile b/openwrt/package/curl/Makefile index 02ea0a352..1a4ee8677 100644 --- a/openwrt/package/curl/Makefile +++ b/openwrt/package/curl/Makefile @@ -91,24 +91,24 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_CURL): install -m0755 -d $(IDIR_CURL)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/curl $(IDIR_CURL)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/curl $(IDIR_CURL)/usr/bin/ $(RSTRIP) $(IDIR_CURL) $(IPKG_BUILD) $(IDIR_CURL) $(PACKAGE_DIR) $(IPKG_LIBCURL): install -m0755 -d $(IDIR_LIBCURL)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libcurl.so.* $(IDIR_LIBCURL)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.so.* $(IDIR_LIBCURL)/usr/lib/ $(RSTRIP) $(IDIR_LIBCURL) $(IPKG_BUILD) $(IDIR_LIBCURL) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libcurl.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/curl-config $(STAGING_DIR)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/curl-config $(STAGING_DIR)/usr/bin/ mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/curl $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/curl $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libcurl.a $(STAGING_DIR)/usr/lib/ - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libcurl.so* $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.a $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.so* $(STAGING_DIR)/usr/lib/ $(SED) 's,-I/usr/include,,g' $(STAGING_DIR)/usr/bin/curl-config $(SED) 's,-L/usr/lib,,g' $(STAGING_DIR)/usr/bin/curl-config touch $@