summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-31 00:50:53 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-31 00:51:15 +0100
commitc1a656613c8c484f44559113067555f999c361b8 (patch)
tree4aa6e1b52a52783cda2f10691cb9b5b7b662662c
parent6324c7cfffe1527cf41bed7f0e00568aac25c6ff (diff)
fix musl mips soft-float bootup in qemu
-rw-r--r--package/musl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index 11ca1b8be..7da4cd968 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -45,6 +45,11 @@ endif
ifeq ($(ADK_TARGET_CPU_ARCH),sh4eb)
MARCH:= sheb
endif
+ifeq ($(ADK_TARGET_ARCH_MIPS),y)
+ifeq ($(ADK_TARGET_SOFT_FLOAT),y)
+MARCH:= $(ADK_TARGET_CPU_ARCH)-sf
+endif
+endif
ifeq ($(ADK_TARGET_ARCH_ARM),y)
ifeq ($(ADK_TARGET_ABI),eabihf)
MARCH:= armhf