# Now build some additional toolchains beyond the default ones. This
# is because some older kernels needs older toolchain versions.
case $target in
- 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 needs to be build with GCC 11.3
export gcc_version="11.3.0"