From: Luca Boccassi <lboccass@brocade.com>
To: <dev@dpdk.org>
Cc: Luca Boccassi <lboccass@brocade.com>, <stable@dpdk.org>
Subject: [dpdk-dev] [PATCH] mk: use ?= instead of := for RTE_DEVEL_BUILD
Date: Wed, 14 Sep 2016 11:50:42 +0100 [thread overview]
Message-ID: <1473850242-29734-1-git-send-email-lboccass@brocade.com> (raw)
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@dpdk.org>
Signed-off-by: Luca Boccassi <lboccass@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
next reply other threads:[~2016-09-14 10:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 10:50 Luca Boccassi [this message]
2016-09-14 10:54 ` Christian Ehrhardt
2016-09-23 16:29 ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473850242-29734-1-git-send-email-lboccass@brocade.com \
--to=lboccass@brocade.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).