From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH 7/7] mk: Add hierarchy-file support (linux mod) Date: Fri, 27 Nov 2015 16:23:07 +0000 Message-ID: <20151127162307.GD27472@bricha3-MOBL3> References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1442608390-12537-8-git-send-email-mario.alfredo.c.arevalo@intel.com> <5600FB8B.6070909@redhat.com> <7380042.Av6xXtCM9v@xps13> <20151127160103.GA32227@sivlogin002.ir.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: David Marchand Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 81CDD58C3 for ; Fri, 27 Nov 2015 17:23:11 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Nov 27, 2015 at 05:20:43PM +0100, David Marchand wrote: > On Fri, Nov 27, 2015 at 5:01 PM, Ferruh Yigit > wrote: > > > As far as I know only "?=" assignment overridden by command line. > > > > Basic experiment: > > > > # cat Makefile > > A ?= a > > B := b > > C = c > > > > all: > > @echo $(A) $(B) $(C) > > > > ----- > > > > # make > > a b c > > > > # A=x B=x C=x make > > x b c > > > > Those variables are passed through env, but if you give them to make. > > $ make A=x B=x C=x > x x x > > You just beat me to it! ?= can be overridden by either environment or cmdline, others are overridden just by cmdline, which means they are passed to make, not to the shell. /Bruce