Build the 6.0 series for PowerPC with binutils 2.38
[kernel-tools.git] / setup-toolchain.sh
index 00f58b399948546da8a1d8d17c99f567b6a866ef..967c8f5d17f21c369e85523c3066457ff88bb094 100755 (executable)
@@ -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