mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a21841fb75
commit
00e3915ca6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user