aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2018-12-16 10:45:53 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2023-05-28 13:19:10 +0200
commit50c05f6cd721130701cbbc77a75d2e090259c4e5 (patch)
tree6835b3e5caccfb6a0252dc7861a629b874b1afe7 /include/kernel.mk
parenta15730a4eb741dc394709afb2fb31539115d84c1 (diff)
downloadupstream-50c05f6cd721130701cbbc77a75d2e090259c4e5.tar.gz
upstream-50c05f6cd721130701cbbc77a75d2e090259c4e5.tar.bz2
upstream-50c05f6cd721130701cbbc77a75d2e090259c4e5.zip
generic: groundwork for RISC-V
Add build infrastructure for RISC-V. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index c657bf5d82e..b1ae42534dc 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -90,6 +90,8 @@ else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el ))
LINUX_KARCH := mips
else ifneq (,$(findstring $(ARCH) , powerpc64 ))
LINUX_KARCH := powerpc
+else ifneq (,$(findstring $(ARCH) , riscv64 ))
+ LINUX_KARCH := riscv
else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 ))
LINUX_KARCH := sh
else ifneq (,$(findstring $(ARCH) , i386 x86_64 ))