瀏覽代碼

fix musl mips soft-float bootup in qemu

Waldemar Brodkorb 8 年之前
父節點
當前提交
c1a656613c
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      package/musl/Makefile

+ 5 - 0
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