[PATCH] Makefile: add targets for config-help and pkg-help

From: Shuah Khan
Date: Tue Oct 17 2017 - 11:19:01 EST


Change to enable config help and package help from the main make level
to make it easier to use. It has become difficult to find config help
and pkg help specific output from the "help" information.

Signed-off-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>
---
Makefile | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 46bfb0ed2257..1d6f86df1b6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1441,6 +1441,13 @@ help:
@echo 'Execute "make" or "make all" to build all targets marked with [*] '
@echo 'For further info see the ./README file'

+PHONY += config-help
+config-help:
+ @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help
+
+PHONY += pkg-help
+pkg-help:
+ @$(MAKE) $(build)=$(package-dir) help

help-board-dirs := $(addprefix help-,$(board-dirs))

--
2.11.0