]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cooker: ensure parseCommandLine can get BBPKGS
authorChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 16:22:43 +0000 (10:22 -0600)
committerChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 16:33:04 +0000 (09:33 -0700)
Without this, one can't use BBPKGS with bitbake -g, for example.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cooker.py

index ea362e2e20fa4676e65e9bca2251a1852417ffcb..68d07cb14dce1de6315adfc7672fbbae4a3396af 100644 (file)
@@ -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
         #