summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-03-22 15:54:37 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-25 12:23:33 +0100
commit822af52bb9ab7e825788f28a9d17a47deaf93622 (patch)
tree514be12335cad815393ed569f99291a29a4790cd /bitbake/lib
parente9a5de67e7822dbb40edf248fbbcc1ec496b0cb0 (diff)
downloadpoky-822af52bb9ab7e825788f28a9d17a47deaf93622.tar.gz
Fix typo: BB_NUMBER_THREAD -> BB_NUMBER_THREADS
Correct some apparent misspellings of BB_NUMBER_THREADS. (Bitbake rev: 175e55db8f0762a2f2f0aaf3ca48169016b9ef6b) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py4
-rw-r--r--bitbake/lib/bb/ui/crumbs/template.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 7b6c116ee4..4135d74865 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -75,7 +75,7 @@ class Configuration:
75 self.sstatedir = template.getVar("SSTATE_DIR") 75 self.sstatedir = template.getVar("SSTATE_DIR")
76 self.sstatemirror = template.getVar("SSTATE_MIRROR") 76 self.sstatemirror = template.getVar("SSTATE_MIRROR")
77 self.pmake = int(template.getVar("PARALLEL_MAKE").split()[1]) 77 self.pmake = int(template.getVar("PARALLEL_MAKE").split()[1])
78 self.bbthread = int(template.getVar("BB_NUMBER_THREAD")) 78 self.bbthread = int(template.getVar("BB_NUMBER_THREADS"))
79 self.image_rootfs_size = int(template.getVar("IMAGE_ROOTFS_SIZE")) 79 self.image_rootfs_size = int(template.getVar("IMAGE_ROOTFS_SIZE"))
80 self.image_extra_size = int(template.getVar("IMAGE_EXTRA_SPACE")) 80 self.image_extra_size = int(template.getVar("IMAGE_EXTRA_SPACE"))
81 # image_overhead_factor is read-only. 81 # image_overhead_factor is read-only.
@@ -103,7 +103,7 @@ class Configuration:
103 template.setVar("SSTATE_DIR", self.sstatedir) 103 template.setVar("SSTATE_DIR", self.sstatedir)
104 template.setVar("SSTATE_MIRROR", self.sstatemirror) 104 template.setVar("SSTATE_MIRROR", self.sstatemirror)
105 template.setVar("PARALLEL_MAKE", "-j %s" % self.pmake) 105 template.setVar("PARALLEL_MAKE", "-j %s" % self.pmake)
106 template.setVar("BB_NUMBER_THREAD", self.bbthread) 106 template.setVar("BB_NUMBER_THREADS", self.bbthread)
107 template.setVar("PACKAGE_CLASSES", " ".join(["package_" + i for i in self.curr_package_format.split()])) 107 template.setVar("PACKAGE_CLASSES", " ".join(["package_" + i for i in self.curr_package_format.split()]))
108 template.setVar("IMAGE_ROOTFS_SIZE", self.image_rootfs_size) 108 template.setVar("IMAGE_ROOTFS_SIZE", self.image_rootfs_size)
109 template.setVar("IMAGE_EXTRA_SPACE", self.image_extra_size) 109 template.setVar("IMAGE_EXTRA_SPACE", self.image_extra_size)
diff --git a/bitbake/lib/bb/ui/crumbs/template.py b/bitbake/lib/bb/ui/crumbs/template.py
index a03063c4ff..5679c18f76 100644
--- a/bitbake/lib/bb/ui/crumbs/template.py
+++ b/bitbake/lib/bb/ui/crumbs/template.py
@@ -125,7 +125,7 @@ class RecipeFile(ConfigFile):
125 125
126class TemplateMgr(gobject.GObject): 126class TemplateMgr(gobject.GObject):
127 127
128 __gLocalVars__ = ["MACHINE", "PACKAGE_CLASSES", "DISTRO", "DL_DIR", "SSTATE_DIR", "SSTATE_MIRROR", "PARALLEL_MAKE", "BB_NUMBER_THREAD", "CONF_VERSION"] 128 __gLocalVars__ = ["MACHINE", "PACKAGE_CLASSES", "DISTRO", "DL_DIR", "SSTATE_DIR", "SSTATE_MIRROR", "PARALLEL_MAKE", "BB_NUMBER_THREADS", "CONF_VERSION"]
129 __gBBLayersVars__ = ["BBLAYERS", "LCONF_VERSION"] 129 __gBBLayersVars__ = ["BBLAYERS", "LCONF_VERSION"]
130 __gRecipeVars__ = ["DEPENDS", "IMAGE_INSTALL"] 130 __gRecipeVars__ = ["DEPENDS", "IMAGE_INSTALL"]
131 131