diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-15 16:07:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-15 16:08:18 +0200 |
commit | e7702be642eb91c48b6c596ab148b8a3a69db53a (patch) | |
tree | ac178ce469ab501252615d534bbcb63b60367196 /toolchain/Makefile | |
parent | a3875719fff2c2f74218a5d4f199328997167ad4 (diff) |
move to toolchain dir
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r-- | toolchain/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |