uclibc-initial_git.bb: Create symlinks to kernel headers
PATCH 1/1 uclibc-initial_git.bb: Create symlinks to kernel headers
From: Khem Raj <[email protected]>
Without this the toolchain bootstrap will fail
on some compiler versions
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-core/uclibc/uclibc-initial_git.bb | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
meta-oe/recipes-core/uclibc/uclibc-initial_git.bb +6 -0
@@ -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() { :
Signature · 1 line
1.7.4.1
Koen Kooi
Applied-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · On 20-04-11 01:46, [email protected] wrote:
From: Khem Raj <[email protected]>
Without this the toolchain bootstrap will fail
on some compiler versionsSigned-off-by Khem Raj <[email protected]>
Merged, thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNrn+GMkyGM64RGpERAit6AKCQG4u7IarQx05pA0+PK/Q7W2xWUQCfUBRb jJ5P+sPMOAKNuWFIFc5WBUo=
=pSdU
-----END PGP SIGNATURE-----