mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +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:
parent
a702651dab
commit
37f21da69b
@ -21,6 +21,12 @@ do_install() {
|
||||
install -d ${D}${libdir}
|
||||
install -m 755 lib/lib[cm].so ${D}${libdir}
|
||||
# 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() {
|
||||
:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user