1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 06:03:17 +02:00

Add Mips compilation support

This commit is contained in:
Guillaume Chatelet
2018-02-16 14:17:10 +01:00
parent c1de7c935e
commit 6446b42567
4 changed files with 130 additions and 66 deletions

View File

@ -32,21 +32,28 @@ function set_arm-linux-gnueabi() {
function set_aarch64_be-linux-gnu() {
TOOLCHAIN=LINARO
TARGET=aarch64_be-linux-gnu
QEMU_ARCH=""
QEMU_ARCH="DISABLED"
}
# Toolchains for big-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
function set_armeb-linux-gnueabihf() {
TOOLCHAIN=LINARO
TARGET=armeb-linux-gnueabihf
QEMU_ARCH=""
QEMU_ARCH="DISABLED"
}
# Toolchains for big-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
function set_armeb-linux-gnueabi() {
TOOLCHAIN=LINARO
TARGET=armeb-linux-gnueabi
QEMU_ARCH=""
QEMU_ARCH="DISABLED"
}
function set_mips() {
TOOLCHAIN=CODESCAPE
TARGET=mips-mti-linux-gnu
QEMU_ARCH="DISABLED"
}
function set_native() {
@ -64,8 +71,13 @@ ENVIRONMENTS="
set_armeb-linux-gnueabihf
set_armeb-linux-gnueabi
set_native
set_mips
"
# ENVIRONMENTS="
# set_mips
# "
for SET_ENVIRONMENT in ${ENVIRONMENTS}; do
${SET_ENVIRONMENT}
expand_environment_and_integrate