mirror of https://github.com/thesofproject/sof.git
xtensa-build-zephyr.py: fail on --deployable-build + older options
From experience, no one scrolls up and looks at warnings that are not in the current screen. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
e24ccd2c19
commit
f4ce8b537b
|
@ -310,12 +310,9 @@ IPC4
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if args.deployable_build:
|
if args.deployable_build:
|
||||||
if args.fw_naming == 'AVS':
|
if args.fw_naming == 'AVS' or args.use_platform_subdir:
|
||||||
args.fw_naming = 'SOF'
|
sys.exit("Options '--fw-naming=AVS' and '--use-platform-subdir'"
|
||||||
print("The option '--fw-naming AVS' is ignored for deployable builds.")
|
" are incompatible with --deployable-build.")
|
||||||
if args.use_platform_subdir:
|
|
||||||
args.use_platform_subdir = False
|
|
||||||
print("The option '--use-platform-subdir' is ignored for deployable builds.")
|
|
||||||
|
|
||||||
if args.fw_naming == 'AVS':
|
if args.fw_naming == 'AVS':
|
||||||
if not args.use_platform_subdir:
|
if not args.use_platform_subdir:
|
||||||
|
|
Loading…
Reference in New Issue