From 5aa03e16a732e81a989a9605706dc8c6bb95d03f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Jan 2017 12:41:59 +0100 Subject: build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is used Signed-off-by: Felix Fietkau --- include/host-build.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/host-build.mk') diff --git a/include/host-build.mk b/include/host-build.mk index cf1203995c..6a335fcbc3 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -35,6 +35,8 @@ override MAKEFLAGS= include $(INCLUDE_DIR)/quilt.mk include $(INCLUDE_DIR)/autotools.mk +_host_target:=$(if $(HOST_QUILT),,.) + Host/Patch:=$(Host/Patch/Default) ifneq ($(strip $(HOST_UNPACK)),) define Host/Prepare/Default @@ -176,9 +178,9 @@ ifndef DUMP ) endif - .host-prepare: $(HOST_STAMP_PREPARED) - .host-configure: $(HOST_STAMP_CONFIGURED) - .host-compile: $(HOST_STAMP_BUILT) $(HOST_STAMP_INSTALLED) + $(_host_target)host-prepare: $(HOST_STAMP_PREPARED) + $(_host_target)host-configure: $(HOST_STAMP_CONFIGURED) + $(_host_target)host-compile: $(HOST_STAMP_BUILT) $(HOST_STAMP_INSTALLED) host-clean: FORCE $(call Host/Clean) $(call Host/Uninstall) -- cgit v1.2.3