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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux