summaryrefslogtreecommitdiff
path: root/package/musl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-14 02:02:29 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-14 02:19:45 +0200
commit81fc45482a4b376125ec09fa377e93a3356d73f3 (patch)
tree58dc0dd19065845ef0e2571d97efb628d3a6193f /package/musl/Makefile
parent96469d9a078d67af6e66f9bee068371e2e2d9918 (diff)
fix musl mipsel sf ld.so link
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
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)