Skip to content

Commit

Permalink
chore: skip overflown targets
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed May 12, 2024
1 parent 3c201f6 commit dfa8910
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-firmwares-bluetooth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ for target in $target_names; do
if [[ ${TARGET_NAMES_BW[*]} =~ $re ]]; then
for lang in "${LANGUAGES_BW[@]}"; do
if [[ "${target}" =~ "x9dp2019" && "${lang}" == "CZ" ]]; then continue; fi # x9d+2019 CZ overflow
if [[ "${target}" =~ "zorro" && "${lang}" == "RU" ]]; then continue; fi # zorro RU overflow
SRCDIR=${SRC_DIR} FLAVOR=${target} EXTRA_OPTIONS="-DTRANSLATIONS=${lang} -DBLUETOOTH=Y " "${SRC_DIR}/tools/build-gh.sh"
mv "${fw_name}" "${target}-${lang}-bluetooth-${GIT_SHA_SHORT}.bin"
done
Expand Down
1 change: 1 addition & 0 deletions build-firmwares-luamixer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ for target in $target_names; do
if [[ ${TARGET_NAMES_BW[*]} =~ $re ]]; then
for lang in "${LANGUAGES_BW[@]}"; do
if [[ "${target}" =~ "x9dp2019" && "${lang}" == "CZ" ]]; then continue; fi # x9d+2019 CZ overflow
if [[ "${target}" =~ "zorro" && "${lang}" == "RU" ]]; then continue; fi # zorro RU overflow
SRCDIR=${SRC_DIR} FLAVOR=${target} EXTRA_OPTIONS="-DTRANSLATIONS=${lang} -DLUA_MIXER=Y " "${SRC_DIR}/tools/build-gh.sh"
mv "${fw_name}" "${target}-${lang}-luamixer-${GIT_SHA_SHORT}.bin"
done
Expand Down
2 changes: 2 additions & 0 deletions build-firmwares.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ for target in $target_names; do
# if [[ "${target}" == "x9dp2019" && "${lang}" == "PT" ]]; then continue; fi # x9d+2019 PT overflow
# if [[ "${target}" == "x9dp2019" && "${lang}" == "PL" ]]; then continue; fi # x9d+2019 PL overflow
# if [[ "${target}" == "x9dp2019" && "${lang}" == "SE" ]]; then continue; fi # x9d+2019 SE overflow
if [[ "${lang}" == "HE" ]]; then continue; fi # HE translation bug
SRCDIR=${SRC_DIR} FLAVOR=${target} EXTRA_OPTIONS="-DTRANSLATIONS=${lang} " "${SRC_DIR}/tools/build-gh.sh"
mv "${fw_name}" "${target}-${lang}-${GIT_SHA_SHORT}.bin"
done
else # Color LCD
for lang in "${LANGUAGES_COLORLCD[@]}"; do
if [[ "${lang}" == "HE" ]]; then continue; fi # HE translation bug
SRCDIR=${SRC_DIR} FLAVOR=${target} EXTRA_OPTIONS="-DTRANSLATIONS=${lang} " "${SRC_DIR}/tools/build-gh.sh"
mv "${fw_name}" "${target}-${lang}-${GIT_SHA_SHORT}.bin"
done
Expand Down

0 comments on commit dfa8910

Please sign in to comment.