gcc-cross-sdk: Fix relocation of the toolchain and bump PR.
authorTom Rini <trini@embeddedalley.com>
Fri, 3 Apr 2009 21:31:12 +0000 (14:31 -0700)
committerTom Rini <trini@embeddedalley.com>
Mon, 6 Apr 2009 21:33:02 +0000 (14:33 -0700)
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>
15 files changed:
recipes/gcc/gcc-configure-sdk.inc
recipes/gcc/gcc-cross-sdk_3.3.4.bb
recipes/gcc/gcc-cross-sdk_3.4.3.bb
recipes/gcc/gcc-cross-sdk_3.4.4.bb
recipes/gcc/gcc-cross-sdk_4.1.0.bb
recipes/gcc/gcc-cross-sdk_4.1.1.bb
recipes/gcc/gcc-cross-sdk_4.1.2.bb
recipes/gcc/gcc-cross-sdk_4.2.2.bb
recipes/gcc/gcc-cross-sdk_4.2.3.bb
recipes/gcc/gcc-cross-sdk_4.2.4.bb
recipes/gcc/gcc-cross-sdk_4.3.1.bb
recipes/gcc/gcc-cross-sdk_4.3.2.bb
recipes/gcc/gcc-cross-sdk_4.3.3.bb
recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
recipes/gcc/gcc-package-sdk.inc

index 7508030..d04f608 100644 (file)
@@ -4,8 +4,7 @@ require gcc-configure-common.inc
 USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
 USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
 
-EXTRA_OECONF_PATHS = "--with-gxx-include-dir=${prefix}/${TARGET_SYS}/${layout_includedir}/c++ \
-                      --with-sysroot=${prefix}/${TARGET_SYS} \
+EXTRA_OECONF_PATHS = "--with-sysroot=${prefix}/${TARGET_SYS} \
                       --with-build-time-tools=${CROSS_DIR}/${TARGET_SYS}/bin \
                       --with-build-sysroot=${STAGING_DIR_TARGET}"
 
index 48a7ecd..0b1f661 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index f6dd053..e334659 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 5caec0b..6b6097f 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 461008d..a6418f6 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 55c9cee..7bc2480 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r9"
+PR = "r10"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 13d3958..876c65c 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r13"
+PR = "r14"
 
 inherit sdk
 
index 0dc19c7..3d9cc0c 100644 (file)
@@ -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}"