Bug 5643 - ??= with overrides doesn't work as expected
Summary: ??= with overrides doesn't work as expected
Status: RESOLVED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-12-06 19:22 UTC by Koen Kooi
Modified: 2013-12-08 09:49 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koen Kooi 2013-12-06 19:22:29 UTC
FOO_override ?? = "true" in DISTRO.conf
FOO = "false" in recipe

Expected: bitbake -e recipe: FOO = false
Actual result: bitbake -e recipe: FOO = true
Comment 1 Richard Purdie 2013-12-08 09:49:59 UTC
That is in fact working as designed and true would be the expected result.

Why?

??= X means set this value to X if and only if nothing else sets it. So FOO_override is set to the supplied value X and then the override gets applied.