From 1cf4440aaeb826d4f040f41abeb1514af4a1b8b9 Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Mon, 2 Apr 2012 16:29:20 +0800 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py') 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): 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 "" -- cgit v1.2.3-54-g00ecf