summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-31 09:16:16 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-31 09:16:22 (GMT)
commit1c7ad1a115614a32ac299a9ad5341a9b4157e47b (patch)
treefb1545fdeee3c60e909c416270dbfd2a75559006 /toolchain
parentae734f6d0362055f4f26c6c2f7d86917c7d7c02f (diff)
riscv: add specific ISA / ABI working for glibc
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 68a1edf..edd3012 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -215,6 +215,10 @@ ifneq ($(ADK_TARGET_MIPS_ABI),)
GCC_CONFOPTS+= --with-abi=${ADK_TARGET_MIPS_ABI}
endif
+ifneq ($(ADK_TARGET_ABI_RISCV),)
+GCC_CONFOPTS+= --with-abi=${ADK_TARGET_ABI_RISCV}
+endif
+
ifeq (${ADK_MAKE_PARALLEL},y)
GCC_MAKEOPTS+= -j${ADK_MAKE_JOBS}
endif