mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
Hob: a minor fix on pmake
params["pmake"] should be in the format "-j int". When loading/saving "PARALLEL_MAKE" into templates, configuration.pmake will be converted into "-j int", as "PACKAGE_CLASSES" and "BBLAYERS" do. For "PACKAGE_CLASSES" and "BBLAYERS", params["pclass"] and params["layer"] are also strings rather than the types of configuration.curr_package_format and configuration.layers. (Bitbake rev: d49db15badb77855cef855ee73430fcbc16b6916) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3d9f67c2d6
commit
1cf4440aae
@@ -436,7 +436,7 @@ class HobHandler(gobject.GObject):
|
||||
pmake = int(pmake.lstrip("-j "))
|
||||
except:
|
||||
pmake = num_threads
|
||||
params["pmake"] = pmake
|
||||
params["pmake"] = "-j %s" % pmake
|
||||
|
||||
params["image_addr"] = self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"]) or ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user