diff options
author | Shane Wang <shane.wang@intel.com> | 2012-04-02 16:29:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-05 18:48:08 +0100 |
commit | 1cf4440aaeb826d4f040f41abeb1514af4a1b8b9 (patch) | |
tree | 0398d56ba4dcbc9aeb747cb8a68abbd41dafa33e /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | 3d9f67c2d676fd283078fb50127369768b072793 (diff) | |
download | poky-1cf4440aaeb826d4f040f41abeb1514af4a1b8b9.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 9d1c7a2532..dc2b1bb4f6 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -436,7 +436,7 @@ class HobHandler(gobject.GObject): | |||
436 | pmake = int(pmake.lstrip("-j ")) | 436 | pmake = int(pmake.lstrip("-j ")) |
437 | except: | 437 | except: |
438 | pmake = num_threads | 438 | pmake = num_threads |
439 | params["pmake"] = pmake | 439 | params["pmake"] = "-j %s" % pmake |
440 | 440 | ||
441 | params["image_addr"] = self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"]) or "" | 441 | params["image_addr"] = self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"]) or "" |
442 | 442 | ||