mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
glibc-sysroot-setup.inc: create /usr/lib after stash_locale_cleanup
stash_locale_cleanup removes the empty /usr/lib after stashing the locale files to avoid remnant clutter, but we need it in the sysroot, so we need to move the creation of the directory after the cleanup to fix our aarch64 builds. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
SYSROOT_PREPROCESS_FUNCS += "external_toolchain_sysroot_adjust"
|
||||
external_toolchain_sysroot_adjust() {
|
||||
# stash_locale_cleanup removes the empty /usr/lib after stashing the locale
|
||||
# files to avoid remnant clutter, but we need it in the sysroot
|
||||
stash_locale_sysroot_cleanup_append() {
|
||||
# If the usr/lib directory doesn't exist, the toolchain fails to even
|
||||
# try to find crti.o in a completely different directory (usr/lib64)
|
||||
install -d ${SYSROOT_DESTDIR}${nonarch_libdir}
|
||||
|
||||
Reference in New Issue
Block a user