From 677aa5129b2d27c0a1c7dcad64ea682430275a14 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 14 Sep 2016 11:50:42 +0100 Subject: [PATCH] mk: allow to override devel mode from environment 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. Signed-off-by: Luca Boccassi Acked-by: Christian Ehrhardt --- 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 c240a0e2a5..418e49a2e4 100644 --- a/mk/rte.vars.mk +++ b/mk/rte.vars.mk @@ -107,7 +107,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.20.1