summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-20 07:46:07 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-04-20 08:39:04 +0200
commit37f21da69b6b9850eeeee7a5455a313fff406d33 (patch)
treedcc9c851168b1d41249a34a3a9b78bf7b8213abb
parenta702651dabc110a679da003c73241d39a45866a6 (diff)
downloadmeta-openembedded-37f21da69b6b9850eeeee7a5455a313fff406d33.tar.gz
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>
-rw-r--r--meta-oe/recipes-core/uclibc/uclibc-initial_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/uclibc/uclibc-initial_git.bb b/meta-oe/recipes-core/uclibc/uclibc-initial_git.bb
index 4d54cf082..8e5c25121 100644
--- a/meta-oe/recipes-core/uclibc/uclibc-initial_git.bb
+++ b/meta-oe/recipes-core/uclibc/uclibc-initial_git.bb
@@ -21,6 +21,12 @@ do_install() {
21 install -d ${D}${libdir} 21 install -d ${D}${libdir}
22 install -m 755 lib/lib[cm].so ${D}${libdir} 22 install -m 755 lib/lib[cm].so ${D}${libdir}
23 # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this. 23 # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
24 for t in linux asm asm-generic; do
25 if [ -d ${D}${includedir}/$t ]; then
26 rm -rf ${D}${includedir}/$t
27 fi
28 ln -sf ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
29 done
24} 30}
25do_compile() { 31do_compile() {
26 : 32 :