summaryrefslogtreecommitdiff
path: root/toolchain/newlib/Makefile.inc
diff options
context:
space:
mode:
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 31622c2b8..ca97e5660 100644
--- a/toolchain/newlib/Makefile.inc
+++ b/toolchain/newlib/Makefile.inc
@@ -22,6 +22,13 @@ PKG_RELEASE:= 1
PKG_SITES:= https://github.com/riscv/riscv-newlib.git
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
+ifeq ($(ADK_TARGET_LIB_NEWLIB_XTENSA),y)
+PKG_VERSION:= xtensa
+PKG_GIT:= branch
+PKG_RELEASE:= 1
+PKG_SITES:= https://github.com/jcmvbkbc/newlib-xtensa.git
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TARGET_LIB_NEWLIB_FROSTED),y)
PKG_VERSION:= frosted
PKG_GIT:= branch