Bug 2672

Summary: Multiple overrides do not seem to be working
Product: [Build System, Metadata & Runtime] BitBake Reporter: Paul Eggleton <bluelightning>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, Qi.Chen
Version: unspecified   
Target Milestone: 1.3 M3   
Hardware: All   
OS: Multiple   
Whiteboard: Patch out for review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Paul Eggleton 2012-06-29 13:59:37 UTC
It seems that using multiple overrides in a single statement is no longer working with the current version of bitbake (master). As a simple test you can add the following to local.conf:

TESTVAR = "original"
TESTVAR_append_x86 = " x86"
TESTVAR_append_x86_linux = " x86+linux"
TESTVAR_append_linux_x86 = " linux+x86"

Assuming you are building for Linux on an x86 target, the final value reported by bitbake -e | grep ^TESTVAR will be "original x86" whereas it should be "original x86 x86+linux linux+x86" (although RP says that order might be important, so it could be expected that only one of the latter will work, but not that both won't work).
Comment 1 Richard Purdie 2012-07-04 16:05:23 UTC
I was able to reproduce this and have sent out a patch for review that fixes it.
Comment 3 Chen Qi 2012-09-11 03:13:18 UTC
Verified on master branch 5343cdb20ee56a8b507733c637dcc2466ae13288