diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2014-03-24 23:48:09 -0700 |
---|---|---|
committer | Victor Kamensky <victor.kamensky@linaro.org> | 2014-03-24 23:48:09 -0700 |
commit | b9fed396b98e58236f9b809fb88e721e1d072b51 (patch) | |
tree | 9cd22ef471fec85181d82066e8183489b6c39f2b | |
parent | 3492884cc431be5c098c9db8f8202779b53ee589 (diff) |
aarch64_be: install backward compatible symlink for run-time linker eglibc-linaro14.03
In case of aarch64_be install /lib/ld-linux-aarch64.so.1 symbolic
link pointing to just renamed /lib/ld-linux-aarch64_be.so.1 run-time
linker. It should make old executables, compiled with toolchains
that did not do such rename yet, happy.
Similar as previous change for openembedded-core eglibc now applied
to Linaro specific eglibc: eglibc-linaro.
Change-Id: I273242c9d47f41a3ca2c4077e0e8f3875bf54bf4
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
-rw-r--r-- | meta-linaro-toolchain/recipes-core/eglibc/eglibc_linaro-2.19.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-core/eglibc/eglibc_linaro-2.19.bb b/meta-linaro-toolchain/recipes-core/eglibc/eglibc_linaro-2.19.bb index 71d2246b..b85181bc 100644 --- a/meta-linaro-toolchain/recipes-core/eglibc/eglibc_linaro-2.19.bb +++ b/meta-linaro-toolchain/recipes-core/eglibc/eglibc_linaro-2.19.bb @@ -145,6 +145,18 @@ do_compile () { } +# In case of aarch64_be install symlink to ld-linux-aarch64_be.so.1 +# to enable transition of toolchain and executables that are not yet +# aware about aarch64_be run-time linker name change. +# +# Currently there is no use case that requires both LE and BE eglibc +# installed into the same rootfs, so our transitional symlink should +# be fine. +# +do_install_append_aarch64-be() { + ln -sf ld-linux-aarch64_be.so.1 ${D}${base_libdir}/ld-linux-aarch64.so.1 +} + require recipes-core/eglibc/eglibc-package.inc BBCLASSEXTEND = "nativesdk" |