diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 00:34:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:45 +0000 |
commit | c0e1272d1526484f1921f3dd14ca042798d530d9 (patch) | |
tree | e29de33c2cb3edf5c1c43bd772a4c98a77ec36a4 /meta/recipes-core/glibc/glibc-initial.inc | |
parent | 23cb814b2761cbe42f1f76e66abb61d8d4584c54 (diff) | |
download | openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.tar.gz openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.tar.bz2 openembedded-core-c0e1272d1526484f1921f3dd14ca042798d530d9.zip |
gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files
Based upon patches from Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc-initial.inc')
-rw-r--r-- | meta/recipes-core/glibc/glibc-initial.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc index 99aa05fab7..3745955f60 100644 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ b/meta/recipes-core/glibc/glibc-initial.inc @@ -53,8 +53,15 @@ do_install () { install -m 644 csu/crt[1in].o ${D}${libdir} ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ -o ${D}${libdir}/libc.so + + # 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}/ + done } do_siteconfig () { : } + +do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}" |