X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/554242631ba96b37677e8a318982e9a1cf2f123d..481a574f0f36e0c5b4602f503682d2b7fc7cab76:/package/gdbserver/Makefile diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile index 4e011dbab..922e63123 100644 --- a/package/gdbserver/Makefile +++ b/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)