BBPKGS: act as a default that can be overridden via the cmdline.
authorChris Larson <clarson@kergoth.com>
Wed, 8 Apr 2009 17:36:39 +0000 (17:36 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 8 Apr 2009 17:36:39 +0000 (17:36 +0000)
Signed-off-by: Chris Larson <clarson@mvista.com>
lib/bb/cooker.py

index 6a6d254..6833ec2 100644 (file)
@@ -72,7 +72,7 @@ class BBCooker:
             self.configuration.cmd = bb.data.getVar("BB_DEFAULT_TASK", self.configuration.data) or "build"
 
         bbpkgs = bb.data.getVar('BBPKGS', self.configuration.data, True)
-        if bbpkgs:
+        if bbpkgs and len(self.configuration.pkgs_to_build) == 0:
             self.configuration.pkgs_to_build.extend(bbpkgs.split())
 
         #