diff options
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py index bbcaba8c70..86a65aee35 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | |||
@@ -131,7 +131,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
131 | self.rootfs_size_spinner = None | 131 | self.rootfs_size_spinner = None |
132 | self.extra_size_spinner = None | 132 | self.extra_size_spinner = None |
133 | self.gplv3_checkbox = None | 133 | self.gplv3_checkbox = None |
134 | self.toolchain_checkbox = None | 134 | self.sdk_checkbox = None |
135 | self.image_types_checkbuttons = {} | 135 | self.image_types_checkbuttons = {} |
136 | 136 | ||
137 | self.md5 = self.config_md5() | 137 | self.md5 = self.config_md5() |
@@ -286,16 +286,17 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
286 | self.gplv3_checkbox.set_active(False) | 286 | self.gplv3_checkbox.set_active(False) |
287 | advanced_vbox.pack_start(self.gplv3_checkbox, expand=False, fill=False) | 287 | advanced_vbox.pack_start(self.gplv3_checkbox, expand=False, fill=False) |
288 | 288 | ||
289 | advanced_vbox.pack_start(self.gen_label_widget('<span weight="bold">Toolchain</span>'), expand=False, fill=False) | 289 | advanced_vbox.pack_start(self.gen_label_widget('<span weight="bold">SDK</span>'), expand=False, fill=False) |
290 | sub_hbox = gtk.HBox(False, 6) | 290 | sub_hbox = gtk.HBox(False, 6) |
291 | advanced_vbox.pack_start(sub_hbox, expand=False, fill=False) | 291 | advanced_vbox.pack_start(sub_hbox, expand=False, fill=False) |
292 | self.toolchain_checkbox = gtk.CheckButton("Build toolchain") | 292 | self.sdk_checkbox = gtk.CheckButton("Populate SDK") |
293 | self.toolchain_checkbox.set_tooltip_text("Check this box to build the related toolchain with your image") | 293 | tooltip = "Check this box to generate an SDK tarball that consists of the cross-toolchain and a sysroot that contains development packages for your image." |
294 | self.toolchain_checkbox.set_active(self.configuration.toolchain_build) | 294 | self.sdk_checkbox.set_tooltip_text(tooltip) |
295 | sub_hbox.pack_start(self.toolchain_checkbox, expand=False, fill=False) | 295 | self.sdk_checkbox.set_active(self.configuration.toolchain_build) |
296 | 296 | sub_hbox.pack_start(self.sdk_checkbox, expand=False, fill=False) | |
297 | tooltip = "Selects the host platform for which you want to run the toolchain" | 297 | |
298 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines,"<b>Build toolchain</b>" + "*" + tooltip) | 298 | tooltip = "Select the host platform for which you want to run the toolchain contained in the SDK tarball." |
299 | sdk_machine_widget, self.sdk_machine_combo = self.gen_combo_widget(self.configuration.curr_sdk_machine, self.all_sdk_machines,"<b>Populate SDK</b>" + "*" + tooltip) | ||
299 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) | 300 | sub_hbox.pack_start(sdk_machine_widget, expand=False, fill=False) |
300 | 301 | ||
301 | return advanced_vbox | 302 | return advanced_vbox |
@@ -330,7 +331,7 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
330 | self.configuration.incompat_license = " ".join(self.configuration.incompat_license or []) | 331 | self.configuration.incompat_license = " ".join(self.configuration.incompat_license or []) |
331 | self.configuration.incompat_license = self.configuration.incompat_license.strip() | 332 | self.configuration.incompat_license = self.configuration.incompat_license.strip() |
332 | 333 | ||
333 | self.configuration.toolchain_build = self.toolchain_checkbox.get_active() | 334 | self.configuration.toolchain_build = self.sdk_checkbox.get_active() |
334 | self.configuration.curr_sdk_machine = self.sdk_machine_combo.get_active_text() | 335 | self.configuration.curr_sdk_machine = self.sdk_machine_combo.get_active_text() |
335 | md5 = self.config_md5() | 336 | md5 = self.config_md5() |
336 | self.settings_changed = (self.md5 != md5) | 337 | self.settings_changed = (self.md5 != md5) |