summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-17 10:22:43 -0600
committerChris Larson <chris_larson@mentor.com>2010-12-17 09:33:04 -0700
commit7c7648e62d9f162cdc2a93a350bfba6366b8d158 (patch)
treed73c003dfe66a7d8d5edda25da28c9e10725e0a8
parentb947e7aa405966262c0614cae02e7978ec637095 (diff)
downloadbitbake-7c7648e62d9f162cdc2a93a350bfba6366b8d158.tar.gz
cooker: ensure parseCommandLine can get BBPKGS
Without this, one can't use BBPKGS with bitbake -g, for example. Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ea362e2e2..68d07cb14 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
#