aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-30 11:34:17 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-06-01 16:37:37 +0200
commit48a2866ba3367fbe158b12bf2d3b7baa5b7a4d3a (patch)
tree3295b4166fdef59deac84212eecaf990b6094415
parent4174cdd16fc3bbadfdd90c9f6a270eccdbf60e39 (diff)
downloadbuildroot-48a2866ba3367fbe158b12bf2d3b7baa5b7a4d3a.tar.gz
buildroot-48a2866ba3367fbe158b12bf2d3b7baa5b7a4d3a.tar.bz2
toolchain-external: adjust musl dynamic linker symlink for mips-sf
The external toolchain code has some logic to calculate the correct name for the dynamic linker symbolic link that needs to be created when the musl C library is being used. There was already some handling for the mipsel+soft-float case, but not for the mips+soft-float case. Due to this, the symbolic link was incorrectly named, and programs were referencing an non-existing file. Reported-by: Florent Jacquet <florent.jacquet@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit a6a4a8b2ef1fa747fdc79bc7bae0518417910f5d) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--toolchain/toolchain-external/pkg-toolchain-external.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk
index 11a1bf5e24..653ec87a45 100644
--- a/toolchain/toolchain-external/pkg-toolchain-external.mk
+++ b/toolchain/toolchain-external/pkg-toolchain-external.mk
@@ -480,6 +480,8 @@ ifeq ($(BR2_i386),y)
MUSL_ARCH = i386
else ifeq ($(BR2_ARM_EABIHF),y)
MUSL_ARCH = armhf
+else ifeq ($(BR2_mips):$(BR2_SOFT_FLOAT),y:y)
+MUSL_ARCH = mips-sf
else ifeq ($(BR2_mipsel):$(BR2_SOFT_FLOAT),y:y)
MUSL_ARCH = mipsel-sf
else ifeq ($(BR2_sh),y)