riscv: default enable xtheadc
authorHan Gao <gaohan@iscas.ac.cn>
Wed, 29 Nov 2023 03:00:33 +0000 (11:00 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 13 Mar 2024 06:58:51 +0000 (15:58 +0900)
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
(cherry picked from commit 95a545985bb7d757e21a012557ec3743a715f9ca)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
.github/workflows/kernel.yml
arch/riscv/Kconfig

index af22e9f0e483e0798a115dbb5d8de1ec432f284f..bea50d59764ba0b3e25c533568b3e773151ccce1 100644 (file)
@@ -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
index ef3b0502bcff4a548b5304e190acb626d8f8d266..ce6945da7682ab226fd3423bba92d59c46c231e7 100644 (file)
@@ -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