Bug 11621 - Can't reference the user exported variable in the poky/build/conf/local.conf
Summary: Can't reference the user exported variable in the poky/build/conf/local.conf
Status: RESOLVED OBSOLETE
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: Other arm64
: Undecided major
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-07 10:41 UTC by Liu Song
Modified: 2017-06-08 05:31 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liu Song 2017-06-07 10:41:09 UTC
I am trying to define a BOOTDEV variable, which is referenced another variable "BOOT_PARTITION", the code just shows as bellow:

file: poky/build/conf/local.conf

# Boot device Selection
BOOTDEV = "${BOOT_PARTITION}"

and, I will export BOOT_PARTITION=/dev/sda2, then run bitbake.
But it seems that BOOTDEV still be empty.
Comment 1 Liu Song 2017-06-08 05:31:37 UTC
Fixed by a hack way, close it now if no more comments.