summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorJessica Zhang <jessica.zhang@intel.com>2011-08-08 14:13:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-09 15:19:59 +0100
commit6503452732beadb117c6b0633070801d47f5f109 (patch)
tree2892588ffb65f7369539a1284c739868cc4917c6 /bitbake/lib/bb/ui
parentd50bfaa9a122040b0df9f1e237b294716ec66be7 (diff)
downloadpoky-6503452732beadb117c6b0633070801d47f5f109.tar.gz
bb/ui/hob: Restore toolchain relevant preference settings for build
Fixes [#YOCTO 1354] (Bitbake rev: c3827690b9ba3625d1df32d9517efbe13d7d9a1e) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index e0427658d9..b0a98cbd1d 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -980,7 +980,9 @@ def main (server, eventHandler):
980 gplv3disabled = True 980 gplv3disabled = True
981 981
982 build_toolchain = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN"])) 982 build_toolchain = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN"]))
983 handler.toggle_toolchain(build_toolchain)
983 build_headers = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN_HEADERS"])) 984 build_headers = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN_HEADERS"]))
985 handler.toggle_toolchain_headers(build_headers)
984 986
985 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt, 987 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt,
986 pmake, bbthread, selected_image_types, all_image_types, 988 pmake, bbthread, selected_image_types, all_image_types,