From a47375de8c7b0f4dcb95097c8119ea47b6e2636c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 28 Dec 2017 23:49:49 +0100 Subject: [PATCH] build system: add rule to install without cloberring existing utilities Signed-off-by: Yann E. MORIN Signed-off-by: Denys Vlasenko --- 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.25.1