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-09-17 14:16:11 +0200
commit0a621a3f8e390215e65f1c0fdb39b23102bc35df (patch)
treebf3de3b9d8111bc8f0789993c34e69fab772f29f
parent9aa34c8e155bf38ce715011c88bb9cc97b4367f3 (diff)
downloaddpdk-0a621a3f8e390215e65f1c0fdb39b23102bc35df.zip
dpdk-0a621a3f8e390215e65f1c0fdb39b23102bc35df.tar.gz
dpdk-0a621a3f8e390215e65f1c0fdb39b23102bc35df.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 9b7f9a8..e8b92b5 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -37,6 +37,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 44b40dc..d53a98e 100644
--- a/mk/rte.sdkroot.mk
+++ b/mk/rte.sdkroot.mk
@@ -102,8 +102,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 $*