kbuild: mark help target as PHONY
Obviously, the "help" should be a PHONY target. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
parent
612e47cec4
commit
fe69b420d3
2
Makefile
2
Makefile
|
@ -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):
|
||||||
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'
|
||||||
|
|
Loading…
Reference in New Issue