shell: Drop pointless --target parameter

The target plays no role when invoking the shell because bitbake is not
called.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2018-11-02 14:04:39 +01:00 committed by Daniel Wagner
parent a84e2c2222
commit 5025f89c01

View File

@ -56,9 +56,6 @@ class Shell:
sh_prs.add_argument('config',
help='Config file')
sh_prs.add_argument('--target',
action='append',
help='Select target to build')
sh_prs.add_argument('--skip',
help='Skip build steps',
default=[])
@ -79,7 +76,7 @@ class Shell:
return False
ctx = create_global_context()
ctx.config = Config(args.config, args.target, None)
ctx.config = Config(args.config, None, None)
macro = Macro()