summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 16e9710df..6f3c90b5b 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -166,6 +166,8 @@ ifeq ($(TARGET_ARCH),arm)
endif
ifeq ($(TARGET_ARCH),mips)
+ CPU_LDFLAGS-$(ARCH_LITTLE_ENDIAN)+=-EL
+ CPU_LDFLAGS-$(ARCH_BIG_ENDIAN)+=-EB
CPU_CFLAGS-$(CONFIG_MIPS_ISA_1)+=-mips1
CPU_CFLAGS-$(CONFIG_MIPS_ISA_2)+=-mips2 -mtune=mips2
CPU_CFLAGS-$(CONFIG_MIPS_ISA_3)+=-mips3 -mtune=mips3