summaryrefslogtreecommitdiff
path: root/toolchain/newlib/Makefile.inc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-04 01:56:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-04 01:56:00 +0100
commitf139fafceb3d6f6fc9211146b2bdea4af4508dac (patch)
tree9beab9d5a04dea711037aa0cbe4ee0cf41a55c01 /toolchain/newlib/Makefile.inc
parent8de33755e0270fba7b9395e55dbf83668d65201c (diff)
riscv: start experimenting with riscv32 / newlib toolchain
Diffstat (limited to 'toolchain/newlib/Makefile.inc')
-rw-r--r--toolchain/newlib/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/newlib/Makefile.inc b/toolchain/newlib/Makefile.inc
index af2850d10..c006f553b 100644
--- a/toolchain/newlib/Makefile.inc
+++ b/toolchain/newlib/Makefile.inc
@@ -15,3 +15,10 @@ PKG_HASH:= 5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b
PKG_SITES:= ftp://sourceware.org/pub/newlib/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
+ifeq ($(ADK_TARGET_LIB_NEWLIB_RISCV),y)
+PKG_VERSION:= riscv-newlib-2.4.0
+PKG_GIT:= branch
+PKG_RELEASE:= 1
+PKG_SITES:= https://github.com/riscv/riscv-newlib.git
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif