[git commit] build system: add rule to install without cloberring existing utilities

Denys Vlasenko vda.linux at googlemail.com
Thu Jan 4 13:43:46 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=a47375de8c7b0f4dcb95097c8119ea47b6e2636c
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 Makefile.custom | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.custom b/Makefile.custom
index 891c9ce..28d0ef7 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


More information about the busybox-cvs mailing list