From 54c391836b04d7a19a435f89ba617a2ffe06117b Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 28 Dec 2015 06:19:47 +0100
Subject: v850: add basic newlib toolchain support

---
 toolchain/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'toolchain/Makefile')

diff --git a/toolchain/Makefile b/toolchain/Makefile
index 7b24b9a4c..b1aaac653 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -56,7 +56,11 @@ download: $(DOWNLOAD)
 final: $(FINAL)
 
 gcc-configure: binutils-install gmp-install mpfr-install mpc-install libelf-install
+ifeq ($(ADK_TARGET_LIB_NEWLIB),y)
+$(CLIB)-install: gcc-configure
+else
 $(CLIB)-install: gcc-configure kernel-headers-configure
+endif
 gcc-install: $(ELF2FLT) $(CLIB)-install
 gcc-final: gcc-install $(GDB)
 
-- 
cgit v1.2.3