From 8f090cce503f635efb93590863be866b38cb6f81 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 17 Jul 2019 00:30:24 +0200 Subject: [PATCH] - busybox: use the 'noclobber' install rule , to prevent BusyBox from overwriting any full-blown versions of apps installed by other packages --- make/target-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/target-tools.mk b/make/target-tools.mk index 6a65b94e..35af2c79 100644 --- a/make/target-tools.mk +++ b/make/target-tools.mk @@ -47,8 +47,8 @@ $(D)/busybox: $(D)/libtirpc $(ARCHIVE)/$(BUSYBOX_SOURCE) | $(TARGET_DIR) $(call apply_patches, $(BUSYBOX_PATCH)); \ cp $(CONFIGS)/busybox-$(BOXTYPE)-$(BOXSERIES).config .config; \ sed -i -e 's|^CONFIG_PREFIX=.*|CONFIG_PREFIX="$(TARGET_DIR)"|' .config; \ - $(BUSYBOX_MAKE_ENV) $(MAKE) busybox $(BUSYBOX_MAKE_OPTS); \ - $(BUSYBOX_MAKE_ENV) $(MAKE) install $(BUSYBOX_MAKE_OPTS) + $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) busybox; \ + $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) install-noclobber $(REMOVE)/$(BUSYBOX_TMP) $(TOUCH)