summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-04-19 14:46:35 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:08:43 +0100
commit791f2db9a67f09be935e6a7726872fb56cfae912 (patch)
tree8a2c323551ce4dc7eeb424a5ce97b6f0734db518 /mk
parent0920ada6cbd0db9abf85e6da7ef3aa11faee4e85 (diff)
downloaddpdk-791f2db9a67f09be935e6a7726872fb56cfae912.zip
dpdk-791f2db9a67f09be935e6a7726872fb56cfae912.tar.gz
dpdk-791f2db9a67f09be935e6a7726872fb56cfae912.tar.xz
mk: factorize some rules
rte.sdkroot.mk is mainly calling other makefiles. These redirecting rules can be factorized by called makefile. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.sdkroot.mk60
1 files changed, 16 insertions, 44 deletions
diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk
index 2605d86..eec5941 100644
--- a/mk/rte.sdkroot.mk
+++ b/mk/rte.sdkroot.mk
@@ -87,59 +87,31 @@ default: all
.PHONY: config
config:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk config
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk $@
-.PHONY: test
-test:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktest.mk test
-
-.PHONY: fast_test ring_test mempool_test perf_test coverage
-fast_test ring_test mempool_test perf_test coverage:
+.PHONY: test fast_test ring_test mempool_test perf_test coverage
+test fast_test ring_test mempool_test perf_test coverage:
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktest.mk $@
.PHONY: testall
testall:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktestall.mk testall
-
-.PHONY: install
-install:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk install
-
-.PHONY: uninstall
-uninstall:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk uninstall
-
-.PHONY: doc
-doc:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk doc
-
-.PHONY: pdfdoc
-pdfdoc:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk pdfdoc
-
-.PHONY: doxydoc
-doxydoc:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk doxydoc
-
-.PHONY: docclean
-docclean:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk docclean
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktestall.mk $@
-.PHONY: depdirs
-depdirs:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk depdirs
+.PHONY: install uninstall
+install uninstall:
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@
-.PHONY: depgraph
-depgraph:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk depgraph
+.PHONY: doc pdfdoc doxydoc docclean
+doc pdfdoc doxydoc docclean:
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk $@
-.PHONY: gcovclean
-gcovclean:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkgcov.mk gcovclean
+.PHONY: depdirs depgraph
+depdirs depgraph:
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk $@
-.PHONY: gcov
-gcov:
- $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkgcov.mk gcov
+.PHONY: gcov gcovclean
+gcov gcovclean:
+ $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkgcov.mk $@
# all other build targets
%: