From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 7/7] mk: Add hierarchy-file support (linux mod) Date: Fri, 27 Nov 2015 16:48:53 +0000 Message-ID: <20151127164853.GA10887@sivlogin002.ir.intel.com> 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> <20151127162307.GD27472@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: Bruce Richardson Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4D47E374D for ; Fri, 27 Nov 2015 17:48:56 +0100 (CET) Content-Disposition: inline In-Reply-To: <20151127162307.GD27472@bricha3-MOBL3> 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 04:23:07PM +0000, Bruce Richardson wrote: > 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. > I see, thanks for clarification. ferruh