Skip to content

Commit

Permalink
AndroidKernel: Explicitly mark certain targets as phony
Browse files Browse the repository at this point in the history
kerneltags and kernelconfig are phony targets, so mark them
with .PHONY.

Change-Id: If2b6d9c20f8954f217c68dd8dec2360592f74492
Signed-off-by: Bruce Levy <[email protected]>
  • Loading branch information
Divya Sharma authored and Bruce Levy committed Nov 14, 2018
1 parent 4c31454 commit e91a5bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AndroidKernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e91a5bf

Please sign in to comment.