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:
parent
a84e2c2222
commit
5025f89c01
@ -56,9 +56,6 @@ class Shell:
|
|||||||
|
|
||||||
sh_prs.add_argument('config',
|
sh_prs.add_argument('config',
|
||||||
help='Config file')
|
help='Config file')
|
||||||
sh_prs.add_argument('--target',
|
|
||||||
action='append',
|
|
||||||
help='Select target to build')
|
|
||||||
sh_prs.add_argument('--skip',
|
sh_prs.add_argument('--skip',
|
||||||
help='Skip build steps',
|
help='Skip build steps',
|
||||||
default=[])
|
default=[])
|
||||||
@ -79,7 +76,7 @@ class Shell:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
ctx = create_global_context()
|
ctx = create_global_context()
|
||||||
ctx.config = Config(args.config, args.target, None)
|
ctx.config = Config(args.config, None, None)
|
||||||
|
|
||||||
macro = Macro()
|
macro = Macro()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user