summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-26 08:58:05 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-26 08:58:15 (GMT)
commitfdbb45e6e88e49ceada4025ae893104160b4765a (patch)
treeade4fe6c4f6440c7e38683baa2bbda75ad3db24a /rules.mk
parent51a8de13b3b66f887c18df6f7feb132e19473b9f (diff)
split riscv arch support into riscv32/riscv64
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index d59a30f..0b49cdb 100644
--- a/rules.mk
+++ b/rules.mk
@@ -99,6 +99,12 @@ endif
ifeq ($(ADK_TARGET_ARCH),hppa)
ADK_TARGET_KARCH:=parisc
endif
+ifeq ($(ADK_TARGET_ARCH),riscv32)
+ADK_TARGET_KARCH:=riscv
+endif
+ifeq ($(ADK_TARGET_ARCH),riscv64)
+ADK_TARGET_KARCH:=riscv
+endif
include $(ADK_TOPDIR)/mk/vars.mk