summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain.inc b/toolchain.inc
index f8c7ea4ac3..f888d68d0a 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -58,11 +58,14 @@ ARCHDIR-x86_32 := x86
ARCHDIR-arm := arm
ARCHDIR-arm64 := arm64
ARCHDIR-riscv := riscv
+ARCHDIR-mipsel := mips
CFLAGS_arm := -mno-unaligned-access -ffunction-sections -fdata-sections
CFLAGS_arm64 := -ffunction-sections -fdata-sections
+CFLAGS_mipsel := -mips32r2 -G 0
+
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\
$(eval CPPFLAGS_$(arch) += \