X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=setup-toolchain.sh;h=8d00a65551d58cc4c4e793676f0502a370d11450;hb=eb44386362eff07151d6bda642e673073172dd28;hp=5f4cace5e198090bc19ab3a0ac892c453d4cb623;hpb=b35bbb2b943fce81a3434c9b2181e6786de68548;p=kernel-tools.git diff --git a/setup-toolchain.sh b/setup-toolchain.sh index 5f4cace..8d00a65 100755 --- a/setup-toolchain.sh +++ b/setup-toolchain.sh @@ -230,8 +230,23 @@ do build gcc reset_path ;; + powerpc-linux) + # The 6.0 series needs to be build with binutils 2.38 + export binutils_version="2.38" + export toolchain_directory="toolchain-$gcc_version-binutils-$binutils_version" + reset_path + set_path + reset_path + set_path + setup_directories + download_source + setup_source + build binutils + build gcc + reset_path + ;; powerpc64-linux) - # The 5.10 and 4.9 series needs to be build with GCC 11.3 + # The 5.10 needs to be build with GCC 11.3 export gcc_version="11.3.0" export toolchain_directory="toolchain-$gcc_version" reset_path @@ -260,10 +275,11 @@ do build gcc reset_path ;; - s390x-linux) - # The 4.19 kerrnel series needs to be built with GCC 11.3 - export gcc_version="11.3.0" - export toolchain_directory="toolchain-$gcc_version" + riscv64-linux) + # The 4.19 series needs to be built with GCC 10.4 & binutils 2.37 + export gcc_version="10.4.0" + export binutils_version="2.37" + export toolchain_directory="toolchain-$gcc_version-bintuils-$binutils_version" reset_path set_path reset_path @@ -274,6 +290,8 @@ do build binutils build gcc reset_path + ;; + s390x-linux) # The 4.9, and 4.14 kernel series needs to be built with GCC 8.5 export gcc_version="8.5.0" export toolchain_directory="toolchain-$gcc_version"