Skip to content

Commit

Permalink
ci: toolchain fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jul 4, 2024
1 parent 75a7515 commit 41d2dfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/cross_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function expand_codescape_config() {
local -r FLAVOUR="mips-r2-hard"
local -r LIBC_DIR_SUFFIX="lib"
;;
"mipsel" | "mips32el-r6")
"mipsle" | "mips32el-r6")
local -r MIPS_FLAGS="-EL -mips32r6 -mabi=32"
local -r FLAVOUR="mipsel-r6-hard"
local -r LIBC_DIR_SUFFIX="lib"
Expand All @@ -244,7 +244,7 @@ function expand_codescape_config() {
local -r FLAVOUR="mips-r2-hard"
local -r LIBC_DIR_SUFFIX="lib64"
;;
"mips64el" | "mips64el-r6")
"mips64le" | "mips64el-r6")
local -r MIPS_FLAGS="-EL -mips64r6 -mabi=64"
local -r FLAVOUR="mipsel-r6-hard"
local -r LIBC_DIR_SUFFIX="lib64"
Expand Down Expand Up @@ -456,13 +456,13 @@ function main() {
mips | mips32-r6 | mips32-r2)
expand_codescape_config
declare -r QEMU_ARCH=mips ;;
mipsel | mips32el-r6 | mips32el-r2)
mipsle | mips32el-r6 | mips32el-r2)
expand_codescape_config
declare -r QEMU_ARCH=mipsel ;;
mips64 | mips64-r6 | mips64-r2)
expand_codescape_config
declare -r QEMU_ARCH=mips64 ;;
mips64el | mips64el-r6 | mips64el-r2)
mips64le | mips64el-r6 | mips64el-r2)
expand_codescape_config
declare -r QEMU_ARCH=mips64el ;;
ppc64le | ppc64le-power8)
Expand Down

0 comments on commit 41d2dfb

Please sign in to comment.