allow to disable kernel module autoloading mechanism, useful when a big defconfig...
[openadk.git] / toolchain / newlib / Makefile.inc
blobc006f553b16d7b1b8c77ffdc34359475cd2a37ec
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 PKG_NAME:=              newlib
5 ifeq ($(ADK_LIBC_VERSION),git)
6 PKG_VERSION:=           git
7 PKG_RELEASE:=           1
8 PKG_SITES:=             git://sourceware.org/git/newlib-cygwin.git
9 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
10 endif
11 ifeq ($(ADK_TARGET_LIB_NEWLIB_2_5_0),y)
12 PKG_VERSION:=           2.5.0
13 PKG_RELEASE:=           1
14 PKG_HASH:=              5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b
15 PKG_SITES:=             ftp://sourceware.org/pub/newlib/
16 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 endif
18 ifeq ($(ADK_TARGET_LIB_NEWLIB_RISCV),y)
19 PKG_VERSION:=           riscv-newlib-2.4.0
20 PKG_GIT:=               branch
21 PKG_RELEASE:=           1
22 PKG_SITES:=             https://github.com/riscv/riscv-newlib.git
23 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
24 endif