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 <lboccass@brocade.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
Luca Boccassi 2016-09-14 11:50:42 +01:00 committed by Thomas Monjalon
parent f25d44d92a
commit 677aa5129b

View File

@ -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