build: Drop unnecessary argument to BuildCommand()
Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
d02e87a0a7
commit
44a87298ba
@ -102,7 +102,7 @@ class Build:
|
||||
macro.add(WriteBBConfig())
|
||||
|
||||
# Build
|
||||
macro.add(BuildCommand(args.task))
|
||||
macro.add(BuildCommand())
|
||||
|
||||
if 'SSH_PRIVATE_KEY' in os.environ:
|
||||
macro.add(CleanupSSHAgent())
|
||||
@ -117,9 +117,8 @@ class BuildCommand(Command):
|
||||
Implements the bitbake build step.
|
||||
"""
|
||||
|
||||
def __init__(self, task):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.task = task
|
||||
|
||||
def __str__(self):
|
||||
return 'build'
|
||||
|
Loading…
Reference in New Issue
Block a user