summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:44:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:44:58 +0000
commitcdb7c0167baa2bdaef34aa1049c77232877007a0 (patch)
tree1e1b55e0dafbcc1f8cf330d518e96f7758bc2523
parent8a7a669cd59a8f453de1cef63c5fc9d646119803 (diff)
downloadbuildroot-novena-cdb7c0167baa2bdaef34aa1049c77232877007a0.tar.gz
buildroot-novena-cdb7c0167baa2bdaef34aa1049c77232877007a0.zip
Replace non-working 'make uninstall' for 'package/patch' with simple 'rm'
-rw-r--r--package/patch/patch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/patch/patch.mk b/package/patch/patch.mk
index 84e35285b..f33e716b7 100644
--- a/package/patch/patch.mk
+++ b/package/patch/patch.mk
@@ -18,6 +18,7 @@ patch-source: $(DL_DIR)/$(GNUPATCH_SOURCE)
$(GNUPATCH_DIR)/.unpacked: $(DL_DIR)/$(GNUPATCH_SOURCE)
$(GNUPATCH_CAT) $(DL_DIR)/$(GNUPATCH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(CONFIG_UPDATE) $(GNUPATCH_DIR)
touch $(GNUPATCH_DIR)/.unpacked
$(GNUPATCH_DIR)/.configured: $(GNUPATCH_DIR)/.unpacked
@@ -54,8 +55,7 @@ $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY): $(GNUPATCH_DIR)/$(GNUPATCH_BINARY)
patch: uclibc $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY)
patch-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GNUPATCH_DIR) uninstall
- -$(MAKE) -C $(GNUPATCH_DIR) clean
+ rm -f $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY)
patch-dirclean:
rm -rf $(GNUPATCH_DIR)