Skip to content

Commit 84bf2d5

Browse files
committed
Switch the default toolchain for kernel compilation to GCC
1 parent dd39d0f commit 84bf2d5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/compile-kernel-on-a-server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ on:
6262
kernel_toolchain:
6363
description: "Select the compilation toolchain"
6464
required: false
65-
default: "clang"
65+
default: "gcc"
6666
type: choice
6767
options:
6868
- clang

.github/workflows/compile-kernel-using-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ on:
6262
kernel_toolchain:
6363
description: "Select the compilation toolchain"
6464
required: false
65-
default: "clang"
65+
default: "gcc"
6666
type: choice
6767
options:
6868
- clang

compile-kernel/tools/script/armbian_compile_kernel_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ gun_file="arm-gnu-toolchain-14.3.rel1-aarch64-aarch64-none-linux-gnu.tar.xz"
8989
# Set the toolchain path
9090
toolchain_path="/usr/local/toolchain"
9191
# Set the default cross-compilation toolchain: [ clang / gcc / gcc-14.2, etc. ]
92-
toolchain_name="clang"
92+
toolchain_name="gcc"
9393

9494
# Set font color
9595
STEPS="[\033[95m STEPS \033[0m]"

recompile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ armbian_rootfs_file="armbian.tar.xz"
9191
# Set the toolchain path
9292
toolchain_path="/usr/local/toolchain"
9393
# Set the default cross-compilation toolchain: [ clang / gcc / gcc-14.2, etc. ]
94-
toolchain_name="clang"
94+
toolchain_name="gcc"
9595

9696
# QEMU BINARY
9797
qemu_binary_arm64="qemu-aarch64-static"

0 commit comments

Comments
 (0)