test mbuf attach
[dpdk.git] / mk / rte.sdkroot.mk
index f43cc78..fbee6e9 100644 (file)
@@ -28,7 +28,7 @@ export BUILDING_RTE_SDK
 
 #
 # We can specify the configuration template when doing the "make
-# config". For instance: make config T=x86_64-native-linuxapp-gcc
+# config". For instance: make config T=x86_64-native-linux-gcc
 #
 RTE_CONFIG_TEMPLATE :=
 ifdef T
@@ -57,10 +57,25 @@ export BUILDDIR
 
 export ROOTDIRS-y ROOTDIRS- ROOTDIRS-n
 
-.PHONY: default
-default: all
+.PHONY: default test-build
+default test-build: all
+
+.PHONY: warning
+warning:
+       @echo
+       @echo "=========================== WARNING ============================"
+       @echo "It is recommended to build DPDK using 'meson' and 'ninja'"
+       @echo "See https://doc.dpdk.org/guides/linux_gsg/build_dpdk.html"
+       @echo "Building DPDK with 'make' will be deprecated in a future release"
+       @echo "================================================================"
+       @echo
+       @test "$(MAKE_PAUSE)" = n || ( \
+       echo "This deprecation warning can be passed by adding MAKE_PAUSE=n"; \
+       echo "to 'make' command line or as an exported environment variable."; \
+       echo "Press enter to continue..."; read junk)
 
 .PHONY: config defconfig showconfigs showversion showversionum
+config: warning
 config defconfig showconfigs showversion showversionum:
        $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk $@
 
@@ -68,12 +83,10 @@ config defconfig showconfigs showversion showversionum:
 cscope gtags tags etags:
        $(Q)$(RTE_SDK)/devtools/build-tags.sh $@ $T
 
-.PHONY: test test-basic test-fast test-ring test-mempool test-perf coverage
-test test-basic test-fast test-ring test-mempool test-perf coverage:
+.PHONY: test test-fast test-perf coverage test-drivers test-dump
+test test-fast test-perf coverage test-drivers test-dump:
        $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktest.mk $@
 
-test: test-build
-
 .PHONY: install
 install:
        $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk pre_install
@@ -98,4 +111,5 @@ examples examples_clean:
 # all other build targets
 %:
        $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk checkconfig
+       $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkroot.mk warning
        $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkbuild.mk $@