aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-03-19 03:13:52 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-19 03:45:48 +0100
commitc541b76e7b401ab685412e1ab95cb77dbc859b20 (patch)
tree9245fdd7d8052b96cd28e73fe71a405a7e257c89 /gen_arch.sh
parentgen_configkernel.sh: config_kernel(): Warn when kernel config did not change (diff)
downloadgenkernel-c541b76e7b401ab685412e1ab95cb77dbc859b20.tar.gz
genkernel-c541b76e7b401ab685412e1ab95cb77dbc859b20.tar.bz2
genkernel-c541b76e7b401ab685412e1ab95cb77dbc859b20.zip
Add RISC-V support
Bug: https://bugs.gentoo.org/767937 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_arch.sh')
-rwxr-xr-xgen_arch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gen_arch.sh b/gen_arch.sh
index 7aef9634..6da31aa7 100755
--- a/gen_arch.sh
+++ b/gen_arch.sh
@@ -23,6 +23,9 @@ determine_kernel_arch() {
fi
fi
;;
+ riscv|riscv64*)
+ KERNEL_ARCH=riscv
+ ;;
x86)
if [ "${VER}" -ge "3" ]
then