diff options
| author | Joshua Lock <josh@linux.intel.com> | 2011-07-27 17:08:12 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-01 16:49:09 +0100 |
| commit | 990b587652e75154071f2b93e12b1149c545a2df (patch) | |
| tree | 47c103bd904746ce09cdef5610338420b9ad116f /bitbake/lib/bb/ui/hob.py | |
| parent | 42fe3c613153c8abfa9cba4307919a69778fe739 (diff) | |
| download | poky-990b587652e75154071f2b93e12b1149c545a2df.tar.gz | |
hob: fix save/restore of toolchain preferences
Add some (namespaced) custom variables to the configuration file for sake
of this UI.
(Bitbake rev: c9dd2592434338bdddb3cc6f42e760c86fa9e6bb)
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/hob.py')
| -rw-r--r-- | bitbake/lib/bb/ui/hob.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index a5a29603c5..305559f24e 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
| @@ -937,9 +937,12 @@ def main (server, eventHandler): | |||
| 937 | if incompatible and incompatible.lower().find("gplv3"): | 937 | if incompatible and incompatible.lower().find("gplv3"): |
| 938 | gplv3disabled = True | 938 | gplv3disabled = True |
| 939 | 939 | ||
| 940 | build_toolchain = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN"])) | ||
| 941 | build_headers = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN_HEADERS"])) | ||
| 942 | |||
| 940 | prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt, | 943 | prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt, |
| 941 | pmake, bbthread, selected_image_types, all_image_types, | 944 | pmake, bbthread, selected_image_types, all_image_types, |
| 942 | gplv3disabled) | 945 | gplv3disabled, build_toolchain, build_headers) |
| 943 | layers = LayerEditor(configurator, None) | 946 | layers = LayerEditor(configurator, None) |
| 944 | window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach) | 947 | window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach) |
| 945 | prefs.set_parent_window(window) | 948 | prefs.set_parent_window(window) |
