summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobprefs.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobprefs.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobprefs.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobprefs.py b/bitbake/lib/bb/ui/crumbs/hobprefs.py
index ee42e58453..3859b29a0f 100644
--- a/bitbake/lib/bb/ui/crumbs/hobprefs.py
+++ b/bitbake/lib/bb/ui/crumbs/hobprefs.py
@@ -166,7 +166,7 @@ class HobPrefs(gtk.Dialog):
166 self.reload_required = False 166 self.reload_required = False
167 167
168 def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass, 168 def __init__(self, configurator, handler, curr_sdk_mach, curr_distro, pclass,
169 cpu_cnt, pmake, bbthread, selected_image_types, all_image_types, 169 pmake, bbthread, selected_image_types, all_image_types,
170 gplv3disabled, build_toolchain, build_toolchain_headers): 170 gplv3disabled, build_toolchain, build_toolchain_headers):
171 """ 171 """
172 """ 172 """
@@ -185,7 +185,6 @@ class HobPrefs(gtk.Dialog):
185 self.curr_sdk_mach = curr_sdk_mach 185 self.curr_sdk_mach = curr_sdk_mach
186 self.curr_distro = curr_distro 186 self.curr_distro = curr_distro
187 self.curr_package_format = pclass 187 self.curr_package_format = pclass
188 self.cpu_cnt = cpu_cnt
189 self.pmake = pmake 188 self.pmake = pmake
190 self.bbthread = bbthread 189 self.bbthread = bbthread
191 self.selected_image_types = selected_image_types.split(" ") 190 self.selected_image_types = selected_image_types.split(" ")
@@ -283,7 +282,6 @@ class HobPrefs(gtk.Dialog):
283 # set a high maximum as a value for upper bounds is required by the 282 # set a high maximum as a value for upper bounds is required by the
284 # gtk.Adjustment 283 # gtk.Adjustment
285 spin_max = 30 # seems like a high enough arbitrary number 284 spin_max = 30 # seems like a high enough arbitrary number
286 #spin_max = self.cpu_cnt * 3
287 hbox.pack_start(label, expand=False, fill=False, padding=6) 285 hbox.pack_start(label, expand=False, fill=False, padding=6)
288 bbadj = gtk.Adjustment(value=self.bbthread, lower=1, upper=spin_max, step_incr=1) 286 bbadj = gtk.Adjustment(value=self.bbthread, lower=1, upper=spin_max, step_incr=1)
289 bbspinner = gtk.SpinButton(adjustment=bbadj, climb_rate=1, digits=0) 287 bbspinner = gtk.SpinButton(adjustment=bbadj, climb_rate=1, digits=0)