From 95a545985bb7d757e21a012557ec3743a715f9ca Mon Sep 17 00:00:00 2001 From: Han Gao Date: Wed, 29 Nov 2023 11:00:33 +0800 Subject: [PATCH] riscv: default enable xtheadc Signed-off-by: Han Gao --- .github/workflows/kernel.yml | 6 +----- arch/riscv/Kconfig | 4 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index af22e9f0e..bea50d597 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -67,12 +67,8 @@ jobs: make revyos_beaglev_defconfig fi export KDEB_PKGVERSION="$(date "+%Y.%m.%d.%H.%M")+$(git rev-parse --short HEAD)" - if [ x"${{ matrix.name }}" = x"gcc-13" ]; then - echo "CONFIG_THEAD_ISA=n" >> .config - elif [ x"${{ matrix.name }}" = x"thead-gcc" ]; then - echo "CONFIG_THEAD_ISA=y" >> .config - fi sed -i '/CONFIG_LOCALVERSION_AUTO/d' .config && echo "CONFIG_LOCALVERSION_AUTO=n" >> .config + cat .config | grep "CONFIG_THEAD_ISA" make -j$(nproc) bindeb-pkg LOCALVERSION="-${{ matrix.board }}" # Copy deb diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index ef3b0502b..ce6945da7 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -405,7 +405,9 @@ config VECTOR config THEAD_ISA bool "T-HEAD extension ISA in AFLAGS with -march=_xtheadc" - default n + default y + help + Say N here if you want to disable xtheadc in the kernel. endmenu