[PATCH 3/3] infra: add rule to install without cloberring existing utilities
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Dec 28 22:49:49 UTC 2017
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
Makefile.custom | 3 +++
1 file changed, 3 insertions(+)
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
--
2.11.0
More information about the busybox
mailing list