]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
BBPKGS: act as a default that can be overridden via the cmdline.
authorChris Larson <clarson@kergoth.com>
Wed, 8 Apr 2009 17:35:05 +0000 (17:35 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 8 Apr 2009 17:35:05 +0000 (17:35 +0000)
Signed-off-by: Chris Larson <clarson@mvista.com>
lib/bb/cooker.py

index 06f3395d7aa445f13de2bbeba92d6f2610e9d725..f0a7cd33e6e53203bde7f73eddf2743539fc519c 100644 (file)
@@ -97,7 +97,7 @@ class BBCooker:
             self.configuration.cmd = bb.data.getVar("BB_DEFAULT_TASK", self.configuration.data, True) 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())
 
         #