All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] uclibc-initial_git.bb: Create symlinks to kernel headers
@ 2011-04-19 23:46 raj.khem
  2011-04-20  6:39 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: raj.khem @ 2011-04-19 23:46 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Without this the toolchain bootstrap will fail
on some compiler versions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-core/uclibc/uclibc-initial_git.bb |    6 ++++++
 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 4d54cf0..8e5c251 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() {
 	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() {
 	:
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-20  6:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-19 23:46 [meta-oe][PATCH] uclibc-initial_git.bb: Create symlinks to kernel headers raj.khem
2011-04-20  6:39 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.