summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-12 19:39:55 -0500
committerMichal Marek <mmarek@suse.com>2016-04-20 04:30:28 -0400
commitfe69b420d39d307cfe2cba875dc1dbf668877198 (patch)
tree6022bd670a7881b489836a81afa7a9fc3df38e46 /Makefile
parent612e47cec4ad6c5e49fe0a248b0c70849c86b0ee (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--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ec3dde3f6bb8..e3af48068c65 100644
--- a/Makefile
+++ b/Makefile
@@ -1300,6 +1300,7 @@ boards := $(sort $(notdir $(boards)))
1300board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig)) 1300board-dirs := $(dir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*/*_defconfig))
1301board-dirs := $(sort $(notdir $(board-dirs:/=))) 1301board-dirs := $(sort $(notdir $(board-dirs:/=)))
1302 1302
1303PHONY += help
1303help: 1304help:
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):
1470clean: rm-dirs := $(MODVERDIR) 1471clean: rm-dirs := $(MODVERDIR)
1471clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers 1472clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
1472 1473
1474PHONY += help
1473help: 1475help:
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'