diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-03 11:46:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-03 16:56:48 +0100 |
commit | f250397c96dbfb7f3ea1c0a5ae1d9d1a82e1f4b2 (patch) | |
tree | f81555843257cc2d249ab660a4d6f2f386fecc4e /toolchain/newlib/Makefile.inc | |
parent | 7d455976fb819146a50a8fa0483730b16231171f (diff) |
toolchain: add newlib support
OpenADK can now build bare-metal toolchains.
Tested for ARM/MIPS. No runtime testing, yet.
Diffstat (limited to 'toolchain/newlib/Makefile.inc')
-rw-r--r-- | toolchain/newlib/Makefile.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/newlib/Makefile.inc b/toolchain/newlib/Makefile.inc new file mode 100644 index 000000000..3809ccc98 --- /dev/null +++ b/toolchain/newlib/Makefile.inc @@ -0,0 +1,18 @@ +# 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_2_0),y) +PKG_VERSION:= 2.2.0 +PKG_RELEASE:= 1 +PKG_HASH:= c1d53fd1765d955ac513aa6e2f576455ee7507072d400314495c8a8a26ebc8ec +PKG_SITES:= ftp://sourceware.org/pub/newlib/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-1.tar.gz +WRKDIST= $(WRKDIR)/${PKG_NAME}-${PKG_VERSION}-1 +endif |