summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-05-07 15:46:58 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-05-30 23:57:22 +0200
commit424db0100bd779c7ab516203db65383b8a450006 (patch)
tree7888a222dcab107e51ba57beb6fe4044f65497f1
parent6a760a9931347785a9a7d383787364c3de941e18 (diff)
downloaddpdk-424db0100bd779c7ab516203db65383b8a450006.zip
dpdk-424db0100bd779c7ab516203db65383b8a450006.tar.gz
dpdk-424db0100bd779c7ab516203db65383b8a450006.tar.xz
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 <thomas.monjalon@6wind.com> Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
-rw-r--r--mk/rte.sdkdoc.mk5
-rw-r--r--mk/rte.sdkroot.mk3
2 files changed, 7 insertions, 1 deletions
diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
index edae1e7..96eec69 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -38,6 +38,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 6bbbd54..905b678 100644
--- a/mk/rte.sdkroot.mk
+++ b/mk/rte.sdkroot.mk
@@ -103,8 +103,9 @@ testall testimport:
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 $*