Hi Paul, On 19 Jan 2015, at 14:37, Paul Eggleton <paul.eggle...@linux.intel.com> wrote:
> 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". I thought I had this sorted as it was doing _what_ I wanted ;-) > 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" Thanks for the heads-up - I'll go and update my file and add a comment so I remember next time round :-) -- Chris Tapp opensou...@keylevel.com www.keylevel.com -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto