From: Bruce Richardson Date: Mon, 27 Apr 2020 14:25:20 +0000 (+0100) Subject: mk: add note about make system deprecation X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=1da6702e3cac91e360eb7925322cb1243da901d0 mk: add note about make system deprecation When anyone uses the make build system, they are to be informed about upcoming plans to deprecate and subsequently remove that system and to use meson and ninja instead. Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index b512de1ecd..d1d57b6695 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -28,6 +28,11 @@ CLEANDIRS = $(addsuffix _clean,$(ROOTDIRS-y) $(ROOTDIRS-n) $(ROOTDIRS-)) .PHONY: build build: $(ROOTDIRS-y) @echo "Build complete [$(RTE_TARGET)]" + @echo "==== NOTE ====" + @echo "It is recommended to build DPDK using 'meson' and 'ninja'" + @echo "See https://doc.dpdk.org/guides/linux_gsg/build_dpdk.html for instructions" + @echo "Building DPDK with 'make' will be deprecated in a future release" + @echo "==============" .PHONY: clean clean: $(CLEANDIRS) diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk index f538649f22..2ea85e4643 100644 --- a/mk/rte.sdkconfig.mk +++ b/mk/rte.sdkconfig.mk @@ -62,6 +62,11 @@ else config: $(RTE_OUTPUT)/include/rte_config.h $(RTE_OUTPUT)/Makefile @echo "Configuration done using" \ $(patsubst defconfig_%,%,$(notdir $(RTE_CONFIG_TEMPLATE))) + @echo "==== NOTE ====" + @echo "It is recommended to build DPDK using 'meson' and 'ninja'" + @echo "See https://doc.dpdk.org/guides/linux_gsg/build_dpdk.html for instructions" + @echo "Building DPDK with 'make' will be deprecated in a future release" + @echo "==============" endif $(RTE_OUTPUT):