From e7702be642eb91c48b6c596ab148b8a3a69db53a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 15 Aug 2014 16:07:44 +0200 Subject: move to toolchain dir --- toolchain/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index 98130c07a..64cd8b1db 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -32,6 +32,9 @@ ifeq ($(ADK_TARGET_LIB_MUSL),y) TARGETS+=musl CLIB:=musl endif +ifeq ($(ADK_TARGET_BINFMT_FLAT),y) +TARGETS+=elf2flt +endif DOWNLOAD:=kernel-headers-download $(patsubst %,%-download,$(TARGETS)) TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) @@ -48,7 +51,11 @@ $(CLIB)-prepare: gcc-prepare kernel-headers-prepare gcc-configure: $(CLIB)-prepare $(CLIB)-compile: gcc-configure gcc-compile: $(CLIB)-install +ifeq ($(ADK_TARGET_BINFMT_FLAT),y) +$(CLIB)-fixup: gcc-install gdb-install elf2flt-install +else $(CLIB)-fixup: gcc-install gdb-install +endif %-download: $(TRACE) toolchain/$(patsubst %-download,%,$@)/download -- cgit v1.2.3