From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-000f0801.pphosted.com (mx0a-000f0801.pphosted.com [67.231.144.122]) by dpdk.org (Postfix) with ESMTP id 4E7088D93; Wed, 14 Sep 2016 12:51:25 +0200 (CEST) Received: from pps.filterd (m0000542.ppops.net [127.0.0.1]) by mx0a-000f0801.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8EApHtI002213; Wed, 14 Sep 2016 03:51:24 -0700 Received: from brmwp-exmb11.corp.brocade.com ([208.47.132.227]) by mx0a-000f0801.pphosted.com with ESMTP id 25chk0v8df-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 14 Sep 2016 03:51:23 -0700 Received: from EMEAWP-EXMB11.corp.brocade.com (172.29.11.85) by BRMWP-EXMB11.corp.brocade.com (172.16.59.77) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Wed, 14 Sep 2016 04:51:22 -0600 Received: from BRA-6G85P12.vyatta.com (172.27.212.170) by EMEAWP-EXMB11.corp.brocade.com (172.29.11.85) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Wed, 14 Sep 2016 12:51:18 +0200 From: Luca Boccassi To: CC: Luca Boccassi , Date: Wed, 14 Sep 2016 11:50:42 +0100 Message-ID: <1473850242-29734-1-git-send-email-lboccass@brocade.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.27.212.170] X-ClientProxiedBy: hq1wp-excas12.corp.brocade.com (10.70.38.22) To EMEAWP-EXMB11.corp.brocade.com (172.29.11.85) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-09-14_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609020000 definitions=main-1609140143 Subject: [dpdk-dev] [PATCH] mk: use ?= instead of := for RTE_DEVEL_BUILD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 10:51:25 -0000 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: Signed-off-by: Luca Boccassi --- 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