diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-03-13 09:39:55 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-20 10:30:28 +0200 |
commit | fe69b420d39d307cfe2cba875dc1dbf668877198 (patch) | |
tree | 6022bd670a7881b489836a81afa7a9fc3df38e46 | |
parent | 612e47cec4ad6c5e49fe0a248b0c70849c86b0ee (diff) | |
download | lwn-fe69b420d39d307cfe2cba875dc1dbf668877198.tar.gz lwn-fe69b420d39d307cfe2cba875dc1dbf668877198.zip |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1300,6 +1300,7 @@ boards := $(sort $(notdir $(boards))) board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) board-dirs := $(sort $(notdir $(board-dirs:/=))) +PHONY += help help: @echo 'Cleaning targets:' @echo ' clean - Remove most generated files but keep the config and' @@ -1470,6 +1471,7 @@ $(clean-dirs): clean: rm-dirs := $(MODVERDIR) clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers +PHONY += help help: @echo ' Building external modules.' @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' |