From e80e2408d4e54999784338182527ec16949addd8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 17 Mar 2017 21:23:14 +0100 Subject: llvm: update to 4.0.0, allow to compile musl with it --- toolchain/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index e90feb42d..fb46789f2 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -12,13 +12,13 @@ include $(ADK_TOPDIR)/rules.mk -TARGETS:=binutils gmp mpfr mpc - ifeq ($(ADK_BUILD_COMPILER_GCC),y) +TARGETS:=binutils gmp mpfr mpc TARGETS+=gcc COMPILER:=gcc endif ifeq ($(ADK_BUILD_COMPILER_LLVM),y) +TARGETS:=binutils TARGETS+=llvm COMPILER:=llvm endif @@ -67,7 +67,13 @@ clean: $(TARGETS_CLEAN) download: $(DOWNLOAD) final: $(FINAL) + +ifeq ($(ADK_BUILD_COMPILER_LLVM),y) +$(COMPILER)-configure: binutils-install +else $(COMPILER)-configure: binutils-install gmp-install mpfr-install mpc-install +endif + ifeq ($(ADK_TARGET_LIB_NEWLIB),y) $(CLIB)-install: $(COMPILER)-configure else -- cgit v1.2.3