Files
meta-external-toolchain/recipes-external/glibc/glibc-sysroot-setup.inc
Christopher Larson a8684e7ee1 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>
2020-01-27 16:07:11 +00:00

8 lines
371 B
PHP

# 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}
}