aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-12-28 23:49:49 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-01-04 14:43:46 +0100
commita47375de8c7b0f4dcb95097c8119ea47b6e2636c (patch)
tree9fe39fae17c8e0d52f543c4a1d5da947520e54cb
parent952d5a6024e7b2a6d5a351a8d1329bd985da3c76 (diff)
downloadbusybox-a47375de8c7b0f4dcb95097c8119ea47b6e2636c.tar.gz
build system: add rule to install without cloberring existing utilities
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--Makefile.custom3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom
index 891c9ced7..28d0ef7bc 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -46,6 +46,9 @@ ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
@echo
endif
+install-noclobber: INSTALL_OPTS+=--noclobber
+install-noclobber: install
+
uninstall: busybox.links
rm -f $(CONFIG_PREFIX)/bin/busybox
for i in `cat busybox.links` ; do rm -f $(CONFIG_PREFIX)$$i; done