From e91a5bf56b9a344d58ae56589cba2f102bb2e24a Mon Sep 17 00:00:00 2001 From: Divya Sharma Date: Wed, 7 Nov 2018 10:41:23 -0800 Subject: [PATCH] AndroidKernel: Explicitly mark certain targets as phony kerneltags and kernelconfig are phony targets, so mark them with .PHONY. Change-Id: If2b6d9c20f8954f217c68dd8dec2360592f74492 Signed-off-by: Bruce Levy --- AndroidKernel.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AndroidKernel.mk b/AndroidKernel.mk index 900c01e580057..33b9a75a65de4 100644 --- a/AndroidKernel.mk +++ b/AndroidKernel.mk @@ -187,9 +187,11 @@ $(KERNEL_HEADERS_INSTALL): $(KERNEL_OUT) echo $(KERNEL_CONFIG_OVERRIDE) >> $(KERNEL_OUT)/.config; \ $(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) $(KERNEL_MAKE_ENV) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(real_cc) oldconfig; fi +.PHONY: kerneltags kerneltags: $(KERNEL_OUT) $(KERNEL_CONFIG) $(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) $(KERNEL_MAKE_ENV) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(real_cc) tags +.PHONY: kernelconfig kernelconfig: $(KERNEL_OUT) $(KERNEL_CONFIG) env KCONFIG_NOTIMESTAMP=true \ $(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) $(KERNEL_MAKE_ENV) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(real_cc) menuconfig