From: Chris Larson Date: Fri, 17 Dec 2010 16:22:43 +0000 (-0600) Subject: cooker: ensure parseCommandLine can get BBPKGS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c7648e62d9f162cdc2a93a350bfba6366b8d158;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cooker: ensure parseCommandLine can get BBPKGS Without this, one can't use BBPKGS with bitbake -g, for example. Signed-off-by: Chris Larson --- diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index ea362e2e20f..68d07cb14dc 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -72,8 +72,6 @@ class BBCooker: self.configuration.data = bb.data.init() - self.parseCommandLine() - bb.data.inheritFromOS(self.configuration.data) self.parseConfigurationFiles(self.configuration.file) @@ -85,6 +83,8 @@ class BBCooker: if bbpkgs and len(self.configuration.pkgs_to_build) == 0: self.configuration.pkgs_to_build.extend(bbpkgs.split()) + self.parseCommandLine() + # # Special updated configuration we use for firing events #