X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cb1ac97aba34b0b5f79c21d8a73e4ae1c9ca90c7..e01c7553ad0ab05f5c40ef2bdc76b52d4be6fc6c:/openwrt/package/rsync/Makefile diff --git a/openwrt/package/rsync/Makefile b/openwrt/package/rsync/Makefile index 0cad9c7d2..0089326e3 100644 --- a/openwrt/package/rsync/Makefile +++ b/openwrt/package/rsync/Makefile @@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,RSYNC,rsync,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ @@ -58,6 +58,6 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_RSYNC): install -d -m0755 $(IDIR_RSYNC)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_RSYNC)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_RSYNC)/usr/bin $(RSTRIP) $(IDIR_RSYNC) $(IPKG_BUILD) $(IDIR_RSYNC) $(PACKAGE_DIR)