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

* Re: [meta-oe][PATCH] uclibc-initial_git.bb: Create symlinks to kernel headers
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-04-20  6:39 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20-04-11 01:46, raj.khem@gmail.com wrote:
> 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>

Merged, thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNrn+GMkyGM64RGpERAit6AKCQG4u7IarQx05pA0+PK/Q7W2xWUQCfUBRb
jJ5P+sPMOAKNuWFIFc5WBUo=
=pSdU
-----END PGP SIGNATURE-----




^ permalink raw reply	[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.