Build with RTE_DEVEL_BUILD=n to remove rpath
[deb_dpdk.git] / debian / patches / rte-devel-build-env.patch
1 From 5a75a37716f69905af29fbd81aef44625eb69a8b Mon Sep 17 00:00:00 2001
2 From: Luca Boccassi <lboccass@brocade.com>
3 Date: Wed, 14 Sep 2016 11:47:06 +0100
4 Subject: [PATCH] mk: use ?= instead of := for RTE_DEVEL_BUILD
5
6 RTE_DEVEL_BUILD is set to := y in mk/rte.vars.mk, which makes it
7 impossible to override via an environment variable, and forces users
8 to pass it inline in the make call.
9 Use ?= instead to have it pick up the environment variable as well.
10
11 Cc: <stable@dpdk.org>
12 Signed-off-by: Luca Boccassi <lboccass@brocade.com>
13
14 Forwarded: yes
15 Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15795/
16 Author:  Luca Boccassi <lboccass@brocade.com>
17 Last-Update: 2016-09-14
18 ---
19  mk/rte.vars.mk | 2 +-
20  1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/mk/rte.vars.mk b/mk/rte.vars.mk
23 index 28982a5..21ee0ca 100644
24 --- a/mk/rte.vars.mk
25 +++ b/mk/rte.vars.mk
26 @@ -104,7 +104,7 @@ export RTE_TOOLCHAIN
27  
28  # developer build automatically enabled in a git tree
29  ifneq ($(wildcard $(RTE_SDK)/.git),)
30 -RTE_DEVEL_BUILD := y
31 +RTE_DEVEL_BUILD ?= y
32  endif
33  
34  # SRCDIR is the current source directory
35 -- 
36 2.1.4
37