[yocto] Kernel configuration

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jan 19 06:37:51 PST 2015


Hi Chris,

On Saturday 03 January 2015 00:57:50 Chris Tapp wrote:
> If I change my bbappend to use lines of the form:
> 
>   SRC_URI_valleyisland-64 += " file://enable-R8169.cfg"

Note that this probably doesn't do what you think it does - it'll be _setting_ 
the value to "  file://enable-R8169.cfg" rather than appending to the existing 
value when MACHINE is "valleyisland-64". Overrides and += don't really work 
together because they operate at different times - the += happens immediately 
and then later the override is applied. The correct way to do a conditional 
append with an override is to use _append, e.g.:

  SRC_URI_append_valleyisland-64 = " file://enable-R8169.cfg"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list