xtensa-build-zephyr.py: remove misleading -i IPC3 option

`./xtensa-build-zephyr.py -i IPC3 mtl` builds the MTL default: IPC4.
This is wrong, remove the misleading "IPC3" option which never did
anything at all.

Fix the --help string to describe what actually happens. This is a build
script, no need for fancy abstractions and indirections that don't even
match reality. Just tell it like it is.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2022-09-21 21:45:16 +00:00 committed by Liam Girdwood
parent 2474fb48c6
commit 9462baf8d4
1 changed files with 3 additions and 2 deletions

View File

@ -152,8 +152,9 @@ def parse_args():
help="List of platforms to build")
parser.add_argument("-d", "--debug", required=False, action="store_true",
help="Enable debug build")
parser.add_argument("-i", "--ipc", required=False, choices=["IPC3", "IPC4"],
default="IPC3", help="IPC major version")
parser.add_argument("-i", "--ipc", required=False, choices=["IPC4"],
help="""Generic shortcut for: --overlay <platform>/ipc4_overlay.conf. Valid only
for IPC3 platforms supporting IPC4 too.""")
# NO SOF release will ever user the option --fw-naming.
# This option is only for disguising SOF IPC4 as CAVS IPC4 and only in cases where
# the kernel 'ipc_type' expects CAVS IPC4. In this way, developers and CI can test