[dpdk-dev] [PATCH] mk: use ?= instead of := for RTE_DEVEL_BUILD
Luca Boccassi
lboccass at brocade.com
Wed Sep 14 12:50:42 CEST 2016
RTE_DEVEL_BUILD is set to := y in mk/rte.vars.mk, which makes it
impossible to override via an environment variable, and forces users
to pass it inline in the make call.
Use ?= instead to have it pick up the environment variable as well.
Cc: <stable at dpdk.org>
Signed-off-by: Luca Boccassi <lboccass at brocade.com>
---
mk/rte.vars.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/rte.vars.mk b/mk/rte.vars.mk
index 28982a5..21ee0ca 100644
--- a/mk/rte.vars.mk
+++ b/mk/rte.vars.mk
@@ -104,7 +104,7 @@ export RTE_TOOLCHAIN
# developer build automatically enabled in a git tree
ifneq ($(wildcard $(RTE_SDK)/.git),)
-RTE_DEVEL_BUILD := y
+RTE_DEVEL_BUILD ?= y
endif
# SRCDIR is the current source directory
--
2.1.4
More information about the dev
mailing list