summaryrefslogtreecommitdiff
path: root/make/patch.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-27 19:01:12 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-27 19:01:12 +0000
commit4948206d1e632dbe10af266dab4a7aff428f7fd5 (patch)
treed03df3cbf2faeb6bcb22a441485f4ee496472c01 /make/patch.mk
parent7620b05a7df4c1e459179b2cfedf2a47a070454f (diff)
Don't overwrite /bin/busybox with patch
Diffstat (limited to 'make/patch.mk')
-rw-r--r--make/patch.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/patch.mk b/make/patch.mk
index e8ceec1ad..90ed1ad9d 100644
--- a/make/patch.mk
+++ b/make/patch.mk
@@ -44,6 +44,7 @@ $(GNUPATCH_DIR)/$(GNUPATCH_BINARY): $(GNUPATCH_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(GNUPATCH_DIR)
$(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY): $(GNUPATCH_DIR)/$(GNUPATCH_BINARY)
+ rm -f $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY)
cp -a $(GNUPATCH_DIR)/$(GNUPATCH_BINARY) $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY)
patch: uclibc $(TARGET_DIR)/$(GNUPATCH_TARGET_BINARY)