X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7f05a82f019a6b58841841f86d388cbb9f8ae306..04b1fc848d05e0f70b911adf3e4e2d77928ad55b:/openwrt/package/gdbserver/Makefile diff --git a/openwrt/package/gdbserver/Makefile b/openwrt/package/gdbserver/Makefile index 4e011dbab..922e63123 100644 --- a/openwrt/package/gdbserver/Makefile +++ b/openwrt/package/gdbserver/Makefile @@ -46,7 +46,7 @@ $(PKG_BUILD_DIR)/.configured: ); touch $@ -$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured +$(PKG_BUILD_DIR)/.built: rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -56,7 +56,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(IPKG_GDBSERVER): install -m0755 -d $(IDIR_GDBSERVER)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(IDIR_GDBSERVER)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(IDIR_GDBSERVER)/usr/bin/ $(RSTRIP) $(IDIR_GDBSERVER) $(IPKG_BUILD) $(IDIR_GDBSERVER) $(PACKAGE_DIR)