summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-05-07 15:46:58 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:08:43 +0100
commit1ed94ea604399cc2302ebd09d21018fd18295aeb (patch)
tree4619c013aabf4d439781dfe8ce0a99b9632ab57a /mk
parente6ae1e2e8ae98ca01500f6b40a9ab9c2306c74d6 (diff)
downloaddpdk-1ed94ea604399cc2302ebd09d21018fd18295aeb.zip
dpdk-1ed94ea604399cc2302ebd09d21018fd18295aeb.tar.gz
dpdk-1ed94ea604399cc2302ebd09d21018fd18295aeb.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>
Diffstat (limited to 'mk')
-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 70ef430..3575612 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 d1b6087..29af6a5 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 $*