summaryrefslogtreecommitdiff
path: root/bitbake/bin
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-08 15:11:28 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:31 +0100
commit00e3915ca6b479f78177e16e27ff9ad8a7fbff02 (patch)
treec07203416dbaf520d1c9e59d79a048407607812a /bitbake/bin
parenta21841fb75c13d111b3039a4227e92c03ade8cbe (diff)
downloadopenembedded-core-00e3915ca6b479f78177e16e27ff9ad8a7fbff02.tar.gz
openembedded-core-00e3915ca6b479f78177e16e27ff9ad8a7fbff02.tar.bz2
openembedded-core-00e3915ca6b479f78177e16e27ff9ad8a7fbff02.tar.xz
openembedded-core-00e3915ca6b479f78177e16e27ff9ad8a7fbff02.zip
Initialize pkgs_to_build in the BBConfiguration constructor
(Bitbake rev: 69a3e4895b88110fd3a25167aa16cf7c00463175) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 6d74e5b85..cef59c911 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -47,6 +47,7 @@ class BBConfiguration( object ):
def __init__( self, options ):
for key, val in options.__dict__.items():
setattr( self, key, val )
+ self.pkgs_to_build = []
def print_exception(exc, value, tb):
@@ -142,7 +143,6 @@ Default BBFILES are the .bb files in the current directory.""" )
options, args = parser.parse_args(sys.argv)
configuration = BBConfiguration(options)
- configuration.pkgs_to_build = []
configuration.pkgs_to_build.extend(args[1:])
#server = bb.server.xmlrpc