[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

David Marchand david.marchand at 6wind.com
Fri Nov 27 17:20:43 CET 2015


On Fri, Nov 27, 2015 at 5:01 PM, Ferruh Yigit <ferruh.yigit at intel.com>
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


-- 
David Marchand


More information about the dev mailing list