diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-10-29 21:54:00 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-10-30 19:10:06 +0100 |
| commit | b3e3d5fc28b26291d48adad96e92e27c86183673 (patch) | |
| tree | 6cc0514d70ef3bfd928dfffdb8abfd2114b1d0a8 | |
| parent | 1690fca4648347979d00512891982e4eed74b843 (diff) | |
| download | buildroot-b3e3d5fc28b26291d48adad96e92e27c86183673.tar.gz buildroot-b3e3d5fc28b26291d48adad96e92e27c86183673.zip | |
toolchain-external: add missing symlink for Linaro toolchains
In 11ec38b6950 ("toolchain-external: fix Linaro ARM toolchain
support"), we fixed the support for Linaro EABIhf toolchains by adding
a /lib/arm-linux-gnueabihf -> /lib symbolic link. This is needed
because the dynamic loader looks for libraries in
/lib/arm-linux-gnueabihf rather than the usual /lib, but Buildroot
installs all libraries in /lib.
However, we forgot that the dynamic loader also loads libraries from
/usr/lib/arm-linux-gnueabihf rather than /usr/lib, so this patch fixes
that by adding the necessary symbolic link.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
| -rw-r--r-- | toolchain/toolchain-external/toolchain-external.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk index d658d4f745..668e9c33b8 100644 --- a/toolchain/toolchain-external/toolchain-external.mk +++ b/toolchain/toolchain-external/toolchain-external.mk @@ -229,10 +229,11 @@ TOOLCHAIN_EXTERNAL_WRAPPER_ARGS += -DBR_SOFTFLOAT=1 endif # The Linaro ARMhf toolchain expects the libraries in -# /lib/arm-linux-gnueabihf, but Buildroot copies them to /lib, so we -# need to create a symbolic link. +# {/usr,}/lib/arm-linux-gnueabihf, but Buildroot copies them to +# {/usr,}/lib, so we need to create a symbolic link. define TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK ln -sf . $(TARGET_DIR)/lib/arm-linux-gnueabihf + ln -sf . $(TARGET_DIR)/usr/lib/arm-linux-gnueabihf endef ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109),y) |

