summaryrefslogtreecommitdiff
path: root/package/musl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/musl/Makefile')
-rw-r--r--package/musl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index fab4f4a37..89ea31cd2 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -53,9 +53,13 @@ MARCH:= sheb
endif
ifeq ($(ADK_TARGET_ARCH_MIPS),y)
ifeq ($(ADK_TARGET_SOFT_FLOAT),y)
+ifeq ($(ADK_TARGET_LITTLE_ENDIAN),y)
+MARCH:= mipsel-sf
+else
MARCH:= mips-sf
endif
endif
+endif
ifeq ($(ADK_TARGET_ARCH_MIPS64),y)
ifeq ($(ADK_TARGET_ABI_N32),y)
ifeq ($(ADK_TARGET_LITTLE_ENDIAN),y)