summaryrefslogtreecommitdiff
path: root/toolchain/newlib/Makefile.inc
blob: 8d8c3ff000170f1c46d39b16d31b746af055da35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

PKG_NAME:=		newlib
ifeq ($(ADK_LIBC_VERSION),git)
PKG_VERSION:=		git
PKG_RELEASE:=		1
PKG_SITES:=		git://sourceware.org/git/newlib-cygwin.git
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
ifeq ($(ADK_TARGET_LIB_NEWLIB_3_1_0),y)
PKG_VERSION:=		3.1.0
PKG_RELEASE:=		1
PKG_HASH:=		fb4fa1cc21e9060719208300a61420e4089d6de6ef59cf533b57fe74801d102a
PKG_SITES:=		ftp://sourceware.org/pub/newlib/
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
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