Skip to contentSkip to conversation

ARC: Don't mess with endianess settings

PATCH New Alexey Brodkin 1 participant 1 message Jan 20, 2020 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: Don't mess with endianess settings

There seem to be not that much sense in explicitly setting endianess flags for the tools as we assume the tool with required endianess is used. I.e. we use LE tools for building for LE targets and BE tools for BE targets.

---
 arch/arc/config.mk | 10 ----------
 1 file changed, 10 deletions(-)
arch/arc/config.mk +0 -10
index 18005d9993..4b8a0870eb 100644
@@ -8,16 +8,6 @@ else
 CONFIG_SYS_BIG_ENDIAN = 1
 endif
 
-ifdef CONFIG_SYS_LITTLE_ENDIAN
-PLATFORM_LDFLAGS += -EL
-PLATFORM_CPPFLAGS += -mlittle-endian
-endif
-
-ifdef CONFIG_SYS_BIG_ENDIAN
-PLATFORM_LDFLAGS += -EB
-PLATFORM_CPPFLAGS += -mbig-endian
-endif
-
 ifdef CONFIG_ARC_MMU_VER
 CONFIG_MMU = 1
 endif
Signature · 1 line
2.16.2