From: Thomas Monjalon Date: Tue, 7 May 2013 13:46:58 +0000 (+0200) Subject: mk: rule help X-Git-Tag: spdx-start~10982 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4403715ec65a8a85302d29495a938fe70c799a68;p=dpdk.git mk: rule help The goal of this rule is to show which rules/options are available from a "make" command. Let's start by printing short doc about SDK building. Signed-off-by: Thomas Monjalon Reviewed-by: Olivier Matz --- diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index 175b2643fa..30712f4e90 100644 --- a/mk/rte.sdkdoc.mk +++ b/mk/rte.sdkdoc.mk @@ -36,6 +36,11 @@ $(error "Cannot use T= with doc target") endif endif +.PHONY: help +help: + @cat $(RTE_SDK)/doc/build-sdk-quick.txt + @$(MAKE) -rR showconfigs | sed 's,^,\t\t\t\t,' + .PHONY: all all: htmlapi diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index fa094968ce..28e404b67e 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -101,8 +101,9 @@ testall: install uninstall: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@ -.PHONY: doc +.PHONY: doc help doc: doc-all +help: doc-help doc-%: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk $*