mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 17:59:26 +00:00
uclibc-initial_git.bb: Create symlinks to kernel headers
Without this the toolchain bootstrap will fail on some compiler versions Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -21,6 +21,12 @@ do_install() {
|
|||||||
install -d ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
install -m 755 lib/lib[cm].so ${D}${libdir}
|
install -m 755 lib/lib[cm].so ${D}${libdir}
|
||||||
# add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
|
# add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
|
||||||
|
for t in linux asm asm-generic; do
|
||||||
|
if [ -d ${D}${includedir}/$t ]; then
|
||||||
|
rm -rf ${D}${includedir}/$t
|
||||||
|
fi
|
||||||
|
ln -sf ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
|
||||||
|
done
|
||||||
}
|
}
|
||||||
do_compile() {
|
do_compile() {
|
||||||
:
|
:
|
||||||
|
|||||||
Reference in New Issue
Block a user