summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk26
1 files changed, 2 insertions, 24 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 29826cf5b..5493b377a 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -163,42 +163,20 @@ TARGET_CXXFLAGS+= -m$(ADK_TARGET_FLOAT)-float
endif
endif
-ifeq ($(ADK_TARGET_ARCH_ARM),y)
-ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
-TARGET_CFLAGS+= -Wl,-elf2flt
-TARGET_CXXFLAGS+= -Wl,-elf2flt
-endif
-endif
-
-ifeq ($(ADK_TARGET_ARCH_BFIN),y)
-ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
-TARGET_CFLAGS+= -Wl,-elf2flt
-TARGET_CXXFLAGS+= -Wl,-elf2flt
-endif
-ifeq ($(ADK_TARGET_BINFMT_FLAT_SEP_DATA),y)
-TARGET_CFLAGS+= -msep-data
-TARGET_CXXFLAGS+= -msep-data
-endif
-endif
-
ifeq ($(ADK_TARGET_ARCH_H8300),y)
TARGET_CFLAGS+= -mh
TARGET_LDFLAGS+= -mh
+endif
+
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
TARGET_CFLAGS+= -Wl,-elf2flt
TARGET_CXXFLAGS+= -Wl,-elf2flt
endif
-endif
-ifeq ($(ADK_TARGET_ARCH_M68K),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_LIB_MUSL),y)
# use -static-libgcc by default only for musl