diff options
author | Valentin Popa <valentin.popa@intel.com> | 2013-09-27 17:10:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:33 +0100 |
commit | 45392cc67a89afe468b179789c7fbeeb3aa67769 (patch) | |
tree | eb567c68f5d7da623d48cacbdab6575b79e87a5d /bitbake/lib/bb/ui/crumbs/builder.py | |
parent | 95915910dfaa71d6d5b77b8b53468f77207ddc76 (diff) | |
download | poky-45392cc67a89afe468b179789c7fbeeb3aa67769.tar.gz |
bitbake: HOB: MACHINE should be saved in conf files using ?=
MACHINE var is saved using early assignment operator.
Calling MACHINE=x bitbake core-image-... works properly.
Comment "#added by bitbake" is replaced with "#added by hob".
[YOCTO #5070]
(Bitbake rev: 2d0ec8ff083b636a6cf98de3278900eb95c3def6)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 829281357d..46023cc585 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -198,7 +198,7 @@ class Configuration: | |||
198 | handler.set_var_in_file("BBLAYERS", self.layers, "bblayers.conf") | 198 | handler.set_var_in_file("BBLAYERS", self.layers, "bblayers.conf") |
199 | # local.conf | 199 | # local.conf |
200 | if not defaults: | 200 | if not defaults: |
201 | handler.set_var_in_file("MACHINE", self.curr_mach, "local.conf") | 201 | handler.early_assign_var_in_file("MACHINE", self.curr_mach, "local.conf") |
202 | handler.set_var_in_file("DISTRO", self.curr_distro, "local.conf") | 202 | handler.set_var_in_file("DISTRO", self.curr_distro, "local.conf") |
203 | handler.set_var_in_file("DL_DIR", self.dldir, "local.conf") | 203 | handler.set_var_in_file("DL_DIR", self.dldir, "local.conf") |
204 | handler.set_var_in_file("SSTATE_DIR", self.sstatedir, "local.conf") | 204 | handler.set_var_in_file("SSTATE_DIR", self.sstatedir, "local.conf") |