summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-03 11:46:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-03 16:56:48 +0100
commitf250397c96dbfb7f3ea1c0a5ae1d9d1a82e1f4b2 (patch)
treef81555843257cc2d249ab660a4d6f2f386fecc4e /toolchain/Makefile
parent7d455976fb819146a50a8fa0483730b16231171f (diff)
toolchain: add newlib support
OpenADK can now build bare-metal toolchains. Tested for ARM/MIPS. No runtime testing, yet.
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index e81b2b073..088f563e3 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -26,6 +26,10 @@ ifeq ($(ADK_TARGET_LIB_MUSL),y)
TARGETS+=musl
CLIB:=musl
endif
+ifeq ($(ADK_TARGET_LIB_NEWLIB),y)
+TARGETS+=newlib
+CLIB:=newlib
+endif
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
TARGETS+=elf2flt