Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion scripts/xtensa-build-zephyr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ SUPPORTED_PLATFORMS+=(apl cnl icl tgl-h tgl)
# NXP
SUPPORTED_PLATFORMS+=(imx8 imx8x imx8m)

# -a
DEFAULT_PLATFORMS=("${SUPPORTED_PLATFORMS[@]}")

# REVERTME: temporarily exclude ICL because of .noinit/.cached section
# overlap and build failure
# https://github.com/zephyrproject-rtos/zephyr/pull/40319
unset DEFAULT_PLATFORMS[2]

BUILD_JOBS=$(nproc --all)
PLATFORMS=()

Expand Down Expand Up @@ -281,7 +289,7 @@ parse_args()
# Parse -options
while getopts "acz:j:k:p:" OPTION; do
case "$OPTION" in
a) PLATFORMS=("${SUPPORTED_PLATFORMS[@]}") ;;
a) PLATFORMS=("${DEFAULT_PLATFORMS[@]}") ;;
c) DO_CLONE=yes ;;
z) zephyr_ref="$OPTARG" ;;
j) BUILD_JOBS="$OPTARG" ;;
Expand Down