Re: [PATCH] allow CROSS_COMPILE override

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Jacobowitz wrote:

Silly question: why does this matter if CROSS_COMPILE is on the command
line? Command line definitions override anything in the makefile. Is
it falling off the command line in a recursive make?

You need ?= to allow the define in the top level makefile to override that in
the sub-makefile. You also need it if you want to get the value from an
environment variable and not from something like this:

make CROSS_COMPILE=xxx

which is the only case where it works now.

/Brian




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux