diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-03-12 19:39:55 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-20 04:30:28 -0400 |
commit | fe69b420d39d307cfe2cba875dc1dbf668877198 (patch) | |
tree | 6022bd670a7881b489836a81afa7a9fc3df38e46 /Makefile | |
parent | 612e47cec4ad6c5e49fe0a248b0c70849c86b0ee (diff) |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1300,6 +1300,7 @@ boards := $(sort $(notdir $(boards))) | |||
1300 | board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) | 1300 | board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) |
1301 | board-dirs := $(sort $(notdir $(board-dirs:/=))) | 1301 | board-dirs := $(sort $(notdir $(board-dirs:/=))) |
1302 | 1302 | ||
1303 | PHONY += help | ||
1303 | help: | 1304 | help: |
1304 | @echo 'Cleaning targets:' | 1305 | @echo 'Cleaning targets:' |
1305 | @echo ' clean - Remove most generated files but keep the config and' | 1306 | @echo ' clean - Remove most generated files but keep the config and' |
@@ -1470,6 +1471,7 @@ $(clean-dirs): | |||
1470 | clean: rm-dirs := $(MODVERDIR) | 1471 | clean: rm-dirs := $(MODVERDIR) |
1471 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers | 1472 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers |
1472 | 1473 | ||
1474 | PHONY += help | ||
1473 | help: | 1475 | help: |
1474 | @echo ' Building external modules.' | 1476 | @echo ' Building external modules.' |
1475 | @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' | 1477 | @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' |