From faa59c7bd1420df609016ffc1c351ddbd34c169f Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Tue, 19 Jul 2016 21:42:56 +0200 Subject: [PATCH 1/2] switch mipsel-musl to soft float --- slaves/linux-cross/mipsel-linux-musl.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slaves/linux-cross/mipsel-linux-musl.config b/slaves/linux-cross/mipsel-linux-musl.config index 4bc9f45..fbc0ad3 100644 --- a/slaves/linux-cross/mipsel-linux-musl.config +++ b/slaves/linux-cross/mipsel-linux-musl.config @@ -104,7 +104,7 @@ CT_ARCH_32=y # CT_ARCH_64 is not set CT_ARCH_BITNESS=32 # CT_ARCH_FLOAT_HW is not set -# CT_ARCH_FLOAT_SW is not set +CT_ARCH_FLOAT_SW=y CT_TARGET_CFLAGS="" CT_TARGET_LDFLAGS="" # CT_ARCH_alpha is not set @@ -144,8 +144,8 @@ CT_ARCH_ENDIAN="little" # # Target optimisations # -CT_ARCH_FLOAT_AUTO=y -CT_ARCH_FLOAT="auto" +# CT_ARCH_FLOAT_AUTO is not set +CT_ARCH_FLOAT="soft" # # mips other options From 4d6a9529e74eb384ab7578c49702735def0ce709 Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Tue, 19 Jul 2016 21:49:42 +0200 Subject: [PATCH 2/2] document mipsel-musl soft float switch in README --- slaves/linux-cross/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/slaves/linux-cross/README.md b/slaves/linux-cross/README.md index 1885c95..bc98f36 100644 --- a/slaves/linux-cross/README.md +++ b/slaves/linux-cross/README.md @@ -165,6 +165,7 @@ For targets: `mipsel-unknown-linux-musl` - Target options > Target Architecture = mips - Target options > Endianness = **Little** endian - Target options > Architecture level = mips32 -- (+) +- Target options > Floating point = software (no FPU) -- (+) - Operating System > Target OS = linux - Operating System > Linux kernel version = 4.3 -- OpenWRT trunk uses 4.4 though - C-library > C library = musl