aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-package-sdk.inc
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-04-03 14:31:12 -0700
committerTom Rini <trini@embeddedalley.com>2009-04-06 14:33:02 -0700
commit439e60b246bcc741e883372f2340fc6ab7af93d3 (patch)
tree6c532ce57f0140cfbf896cab1abad2df77c0e37a /recipes/gcc/gcc-package-sdk.inc
parent176aebf4b27991081071ef9df07dc5673fc17864 (diff)
downloadopenembedded-439e60b246bcc741e883372f2340fc6ab7af93d3.tar.gz
gcc-cross-sdk: Fix relocation of the toolchain and bump PR.
There's two parts to this. The first is to make relative, not absolute symlinks for 'cpp', etc. The second is that we need to configure without --with-gxx-include-dir and instead install the base C++ headers into the expected location. The path passed to --with-gxx-include-dir will not be relocated and is an absolute. Acked-by: Florian Boor <florian.boor@kernelconcepts.de> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@embeddedalley.com>
Diffstat (limited to 'recipes/gcc/gcc-package-sdk.inc')
-rw-r--r--recipes/gcc/gcc-package-sdk.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-package-sdk.inc b/recipes/gcc/gcc-package-sdk.inc
index 0dc19c70b4..3d9cc0c53a 100644
--- a/recipes/gcc/gcc-package-sdk.inc
+++ b/recipes/gcc/gcc-package-sdk.inc
@@ -48,7 +48,8 @@ do_install () {
# Create the ${prefix}/${TARGET_SYS}/bin/* symlinks
install -d ${D}${prefix}/${TARGET_SYS}/bin/
for l in ${D}${bindir}/*; do
- ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`"
+ echo $l
+ ln -sf "../../${layout_base_bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`"
done
ln -sf "${bindir}/${TARGET_PREFIX}gcc${EXEEXT}" "${D}${prefix}/${TARGET_SYS}/bin/cc${EXEEXT}"