From 1deac090b0b54cd4aa7253f5e2f6e66c099192ae Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 11 Mar 2015 23:35:13 -0500 Subject: enable binfmt flat for bfin, fdpic test-suite compile fail --- mk/vars.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mk') diff --git a/mk/vars.mk b/mk/vars.mk index 9dd7e8735..4ad638164 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -159,6 +159,16 @@ TARGET_CXXFLAGS+= -Wl,-elf2flt endif endif +ifeq ($(ADK_TARGET_ARCH_BFIN),y) +ifeq ($(ADK_TARGET_BINFMT_FLAT),y) +TARGET_LDFLAGS+= -elf2flt +endif +ifeq ($(ADK_TARGET_BINFMT_FLAT_SEP_DATA),y) +TARGET_CFLAGS+= -msep-data +TARGET_CXXFLAGS+= -msep-data +endif +endif + ifeq ($(ADK_TARGET_ARCH_M68K),y) ifeq ($(ADK_TARGET_BINFMT_FLAT),y) TARGET_LDFLAGS+= -elf2flt -- cgit v1.2.3