Commit fe69b420 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michal Marek

kbuild: mark help target as PHONY

Obviously, the "help" should be a PHONY target.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 612e47ce
...@@ -1300,6 +1300,7 @@ boards := $(sort $(notdir $(boards))) ...@@ -1300,6 +1300,7 @@ boards := $(sort $(notdir $(boards)))
board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig))
board-dirs := $(sort $(notdir $(board-dirs:/=))) board-dirs := $(sort $(notdir $(board-dirs:/=)))
PHONY += help
help: help:
@echo 'Cleaning targets:' @echo 'Cleaning targets:'
@echo ' clean - Remove most generated files but keep the config and' @echo ' clean - Remove most generated files but keep the config and'
...@@ -1470,6 +1471,7 @@ $(clean-dirs): ...@@ -1470,6 +1471,7 @@ $(clean-dirs):
clean: rm-dirs := $(MODVERDIR) clean: rm-dirs := $(MODVERDIR)
clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
PHONY += help
help: help:
@echo ' Building external modules.' @echo ' Building external modules.'
@echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment