copy aarch64 config to other arms

This commit is contained in:
finn 2022-12-20 02:12:11 -08:00
parent c89b828513
commit 66d5bc11d8
2 changed files with 7 additions and 7 deletions

View file

@ -4,10 +4,10 @@
linker = "aarch64-linux-gnu-gcc"
[target.arm-unknown-linux-gnueabi]
linker = "lld-13"
linker = "arm-linux-gnueabi-gcc"
[target.arm-unknown-linux-gnueabihf]
linker = "lld-13"
linker = "arm-linux-gnueabihf-gcc"
[target.armv7-unknown-linux-gnueabihf]
linker = "lld-13"
linker = "arm-linux-gnueabihf-gcc"

View file

@ -6,16 +6,16 @@ apt-get update
PACKAGES=("git" "clang-13" "libclang-dev" "cmake" "make") # "gcc-multilib" "g++-multilib")
case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -yqq "${PACKAGES[@]}" gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
apt-get install -yqq "${PACKAGES[@]}" {binutils,g++,gcc}-aarch64-linux-gnu
;;
arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi)
apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross
apt-get install -yqq "${PACKAGES[@]}" {binutils,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross
;;
arm-unknown-linux-gnueabihf|arm-unknown-linux-musleabihf)
apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armhf-cross
apt-get install -yqq "${PACKAGES[@]}" {binutils,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armhf-cross
;;
armv7-unknown-linux-gnueabihf|armv7-unknown-linux-musleabihf)
apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armel-cross
apt-get install -yqq "${PACKAGES[@]}" {binutils,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armel-cross
;;
x86_64-unknown-linux-musl)
apt-get install -yqq "${PACKAGES[@]}" musl-tools