summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-03 23:20:15 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:21 +0000
commit483f85802a97cb9ad4d958c29458db91acc7809f (patch)
treee67948401b16ef7d75cd88857139fd2b00af26df /bitbake/lib/bb/cooker.py
parentc2b5a617285733053f867c3fdda2179a65ccbe4c (diff)
downloadopenembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.tar.gz
openembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.tar.bz2
openembedded-core-483f85802a97cb9ad4d958c29458db91acc7809f.zip
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index b0692431bb..230afcb4bc 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -71,7 +71,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())
#