Bug 2672 - Multiple overrides do not seem to be working
Summary: Multiple overrides do not seem to be working
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: Patch out for review
Depends on:
Blocks:
 
Reported: 2012-06-29 13:59 UTC by Paul Eggleton
Modified: 2012-09-11 03:13 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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