Remove s390x special case since the 4.14 kernel series is EOL
[kernel-tools.git] / setup-toolchain.sh
index b5e87a154ccd477d5b50f9b90a6db31a3687562a..0b848be4f518b6817f081468c5d9b8701ab7b5ef 100755 (executable)
@@ -2,6 +2,20 @@
 set -euo pipefail
 set -x
 
+# You can redistribute and/or modify this file under the terms of the
+# GNU Affero General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public
+# License along with this program. If not, see
+# <https://www.gnu.org/licenses/>.
+
 # SPDX-FileCopyrightText: 2022 Jason Self <j@jxself.org>
 # SPDX-License-Identifier: AGPL-3.0-or-later
 #
@@ -188,7 +202,7 @@ do
   # architecture may need to set up more than one combination of
   # these. These are just the defaults and are adjusted for specific
   # architectures as needed as the program runs.
-  export gcc_version="12.2.0"
+  export gcc_version="12.3.0"
   export binutils_version="2.40"
   export gmp_version="6.2.1"
   export mpc_version="1.3.1"
@@ -261,20 +275,5 @@ do
       build gcc
       reset_path
     ;;
-    s390x-linux)
-      # The 4.14 kernel series needs to be built with GCC 8.5
-      export gcc_version="8.5.0"
-      export toolchain_directory="toolchain-$gcc_version"
-      reset_path
-      set_path
-      reset_path
-      set_path
-      setup_directories
-      download_source
-      setup_source
-      build binutils
-      build gcc
-      reset_path
-    ;;
   esac
 done