Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] eglibc-initial: Fix kernel headers symlink being wrong
@ 2011-11-28 22:57 Matthew McClintock
  2011-11-28 23:15 ` McClintock Matthew-B29882
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Matthew McClintock @ 2011-11-28 22:57 UTC (permalink / raw)
  To: openembedded-core

symlinks to the kernel headers were pointing at the wrong
location when being used from cache. Just copy the kernel
headers instead

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
Do we need something to depend on the kernel version too since we
are copying instead of symlinking? Something like:

do_install[vardeps] += "virtual/kernel:do_populate_sysroot"

 meta/recipes-core/eglibc/eglibc-common.inc  |    2 +-
 meta/recipes-core/eglibc/eglibc-initial.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-common.inc b/meta/recipes-core/eglibc/eglibc-common.inc
index 4fa6488..6a93968 100644
--- a/meta/recipes-core/eglibc/eglibc-common.inc
+++ b/meta/recipes-core/eglibc/eglibc-common.inc
@@ -3,7 +3,7 @@ DESCRIPTION = "Embedded GLIBC (EGLIBC) is a variant of the GNU C Library (GLIBC)
 HOMEPAGE = "http://www.eglibc.org/home"
 SECTION = "libs"
 LICENSE = "GPLv2 & LGPLv2.1"
-INC_PR = "r11"
+INC_PR = "r12"
 LIC_FILES_CHKSUM ?= "file://LICENSES;md5=07a394b26e0902b9ffdec03765209770 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc
index 448f73a..f154d64 100644
--- a/meta/recipes-core/eglibc/eglibc-initial.inc
+++ b/meta/recipes-core/eglibc/eglibc-initial.inc
@@ -48,7 +48,7 @@ do_install () {
 
 	# add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
 	for t in linux asm asm-generic; do
-		ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
+		cp -ar ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
 	done
 }
 
-- 
1.7.6.1





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

end of thread, other threads:[~2011-11-30 22:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 22:57 [PATCH] eglibc-initial: Fix kernel headers symlink being wrong Matthew McClintock
2011-11-28 23:15 ` McClintock Matthew-B29882
2011-11-29 12:25   ` Richard Purdie
2011-11-29 12:26   ` [PATCH] eglibc-initial: Ensure symlinks point to the correct location when built from sstate cache Richard Purdie
2011-11-29 12:30     ` Martin Jansa
2011-11-29 13:02       ` Richard Purdie
2011-11-29 17:30         ` Richard Purdie
2011-11-30 22:00     ` Khem Raj
2011-11-29  1:00 ` [PATCH] eglibc-initial: Fix kernel headers symlink being wrong Khem Raj
2011-11-29 19:49 ` Khem Raj
2011-11-29 20:04   ` McClintock Matthew-B29882

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox