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:
Paul Barker 2020-05-19 10:10:20 +02:00 committed by Jan Kiszka
parent d02e87a0a7
commit 44a87298ba

View File

@ -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'