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>
This commit is contained in:
parent
f94ffd5bca
commit
0d74541614
@ -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
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktestall.mk $@
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk install
|
||||
.PHONY: install uninstall
|
||||
install uninstall:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk uninstall
|
||||
.PHONY: doc pdfdoc doxydoc docclean
|
||||
doc pdfdoc doxydoc docclean:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk $@
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk doc
|
||||
.PHONY: depdirs depgraph
|
||||
depdirs depgraph:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk $@
|
||||
|
||||
.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
|
||||
|
||||
.PHONY: depdirs
|
||||
depdirs:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk depdirs
|
||||
|
||||
.PHONY: depgraph
|
||||
depgraph:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdepdirs.mk depgraph
|
||||
|
||||
.PHONY: gcovclean
|
||||
gcovclean:
|
||||
$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkgcov.mk gcovclean
|
||||
|
||||
.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
|
||||
%:
|
||||
|
Loading…
Reference in New Issue
Block a user