We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5447a4e commit 02ab1d0Copy full SHA for 02ab1d0
riscv64/build_kernel.sh
@@ -16,6 +16,7 @@ git clone --depth 1 --branch $KERNEL_TAG https://github.com/torvalds/linux.git
16
pushd linux
17
# Enable kvm module instead of inserting manually
18
sed -i "s|^CONFIG_KVM=.*|CONFIG_KVM=y|g" arch/riscv/configs/defconfig
19
+echo "CONFIG_RISCV_SBI_V01=y" >> arch/riscv/configs/defconfig
20
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- defconfig && \
21
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)
22
mv arch/riscv/boot/Image $OUTPUT
0 commit comments