summaryrefslogtreecommitdiff
path: root/toolchain/newlib/Makefile.inc
blob: fb42fe17d0c52ffe34c62ae99c7d1edb3655b1b1 (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
25
26
27
28
29
30
31
# 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_2_4_0),y)
PKG_VERSION:=		2.4.0
PKG_RELEASE:=		1
PKG_HASH:=		545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706
PKG_SITES:=		ftp://sourceware.org/pub/newlib/
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
ifeq ($(ADK_TARGET_LIB_NEWLIB_2_3_0),y)
PKG_VERSION:=		2.3.0.20160226
PKG_RELEASE:=		1
PKG_HASH:=		a9489dd28276e4fb29d65a1388a359b1f005d2ba6a4b92a6e5a802b95e1ad7d1
PKG_SITES:=		ftp://sourceware.org/pub/newlib/
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
ifeq ($(ADK_TARGET_LIB_NEWLIB_2_2_0),y)
PKG_VERSION:=		2.2.0.20151023
PKG_RELEASE:=		1
PKG_HASH:=		fd1d3d358dd66922f37563518e787196e1fba8adaa6d8b1e955d145b38b3fa60
PKG_SITES:=		ftp://sourceware.org/pub/newlib/
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
endif