summaryrefslogtreecommitdiffstats
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
parenta21841fb75c13d111b3039a4227e92c03ade8cbe (diff)
downloadpoky-00e3915ca6b479f78177e16e27ff9ad8a7fbff02.tar.gz
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>
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 6d74e5b85d..cef59c9117 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -47,6 +47,7 @@ class BBConfiguration( object ):
47 def __init__( self, options ): 47 def __init__( self, options ):
48 for key, val in options.__dict__.items(): 48 for key, val in options.__dict__.items():
49 setattr( self, key, val ) 49 setattr( self, key, val )
50 self.pkgs_to_build = []
50 51
51 52
52def print_exception(exc, value, tb): 53def print_exception(exc, value, tb):
@@ -142,7 +143,6 @@ Default BBFILES are the .bb files in the current directory.""" )
142 options, args = parser.parse_args(sys.argv) 143 options, args = parser.parse_args(sys.argv)
143 144
144 configuration = BBConfiguration(options) 145 configuration = BBConfiguration(options)
145 configuration.pkgs_to_build = []
146 configuration.pkgs_to_build.extend(args[1:]) 146 configuration.pkgs_to_build.extend(args[1:])
147 147
148 #server = bb.server.xmlrpc 148 #server = bb.server.xmlrpc