summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvicencb@gmail.com <vicencb@gmail.com>2015-09-27 14:48:22 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-09-28 22:41:22 +0200
commit066fd9017fd9a325dbf6575c9f068ab939863608 (patch)
treef7a89fc26cb2e0009339fb4b99d67ec35c091ae4
parent4965192f60a9d484a91787079122a7f9322a4f82 (diff)
downloadbuildroot-066fd9017fd9a325dbf6575c9f068ab939863608.tar.gz
buildroot-066fd9017fd9a325dbf6575c9f068ab939863608.zip
toolchain-external: fix musl-based builds on ARMhf platforms
When ARCH is arm and the hard-floating-point option is on executables expect to find the dynamic linker at /lib/ld-musl-armhf.so.1 and not /lib/ld-musl-arm.so.1. This patch adjusts the logic that creates the symbolic link from the dynamic linker path to the musl C library (since musl has everything built into a single file). [Thomas: tweak the commit log.] Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--toolchain/toolchain-external/toolchain-external.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 61a5dba182..79afdaab3f 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -524,6 +524,8 @@ endef
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y)
ifeq ($(BR2_i386),y)
MUSL_ARCH = i386
+else ifeq ($(BR2_ARM_EABIHF),y)
+MUSL_ARCH = armhf
else
MUSL_ARCH = $(ARCH)
endif
OpenPOWER on IntegriCloud