Handle relocating debug files based on PACKAGE_DEBUG_SPLIT_STYLE, in
a general way, as a better way to handle 6d62e6f
. Possibly do a regex
search/replace:
If debug-file-directory:
(.*)/\.debug/([^/]*)\.debug|${libdir}/debug/\1/\2.debug
(.*)/\.debug/([^/]*)|${libdir}/debug/\1/\2.debug
Else:
${libdir}/debug/(.*)/([^/]*\.debug)|\1/.debug/\2
Fix extraction of patterns like ${libdir}/locale/*/*/libc.mo
(glibc) and
${libdir}/gcc/*/*/include/omp.h
(libgomp).
Improvements above and beyond the existing previous features of the layer
Think about hard linking if possible instead of copying, as long as do_package doesn’t modify files in place, rather than unlinking/creating.
Improve separation between sourcery and general external bits
Refactor and enhance to be able to use this sysroot extraction code to be able to support a true native MACHINE, bypassing cross-compilation entirely.
Re-examine oe-core metadata for our extraction recipes to see if anything can be reused (e.g. in libgcc, gcc-runtime)
Re-review the Wind River toolchain layers for useful bits
Add hooks to be able to handle multilib configurations stored in cpio archives rather than directly on disk. This will include:
Add minimum gcc version requirement (>=4.3) due to requirement for -print-sysroot/–sysroot=.
Test minimum gcc/glibc versions to actually complete a build.
Consider reworking external_toolchain_do_install in shell. This would need performance testing.
Consider reverting the split out of linux-libc-headers-external, as we don’t want to encourage folks to provide their own – there are better mechanisms.
Bugs