summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/configurator.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-27 17:08:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-01 16:49:09 +0100
commit990b587652e75154071f2b93e12b1149c545a2df (patch)
tree47c103bd904746ce09cdef5610338420b9ad116f /bitbake/lib/bb/ui/crumbs/configurator.py
parent42fe3c613153c8abfa9cba4307919a69778fe739 (diff)
downloadpoky-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/crumbs/configurator.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/configurator.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/configurator.py b/bitbake/lib/bb/ui/crumbs/configurator.py
index 587a6ff129..e558c955b3 100644
--- a/bitbake/lib/bb/ui/crumbs/configurator.py
+++ b/bitbake/lib/bb/ui/crumbs/configurator.py
@@ -99,6 +99,14 @@ class Configurator(gobject.GObject):
99 else: 99 else:
100 self.config['INCOMPATIBLE_LICENSE'] = "" 100 self.config['INCOMPATIBLE_LICENSE'] = ""
101 101
102 # Non-standard, namespaces, variables for GUI preferences
103 toolchain = getString('HOB_BUILD_TOOLCHAIN')
104 if toolchain and toolchain != self.config.get('HOB_BUILD_TOOLCHAIN', ''):
105 self.config['HOB_BUILD_TOOLCHAIN'] = toolchain
106 header = getString('HOB_BUILD_TOOLCHAIN_HEADERS')
107 if header and header != self.config.get('HOB_BUILD_TOOLCHAIN_HEADERS', ''):
108 self.config['HOB_BUILD_TOOLCHAIN_HEADERS'] = header
109
102 self.orig_config = copy.deepcopy(self.config) 110 self.orig_config = copy.deepcopy(self.config)
103 111
104 def setLocalConfVar(self, var, val): 112 def setLocalConfVar(self, var, val):