]> git.openpandora.org Git - openembedded.git/commitdiff
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 75080302ff07bc1bbca21e7103eda2673ae33637..d04f6080ee0559eede17567223fd406b066fe1b1 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 f53c5d321a9c053fe7566b7e2488ecca7c7bf5ee..ed9c18c5574995ab948d6c97ef0450a786af1af1 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r7"
 
 inherit sdk
 
index 48a7ecd645317ec38f3078faf5c82c1e105d3910..0b1f6613bf0e7415af08e3ce7ca35d0c9acbebb1 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index f6dd0532e32ee5f2bdbee2022f1035dc8068cc03..e3346590d5d639042801de85904a33ae4ee3e474 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 5caec0b5a50d97ee793e54442b6e9cab777852a3..6b6097fb00bc1adc23e7ae7f2fb92e662c6c5a5e 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 461008d2d55160b19f7636a69b0e6777867ef844..a6418f640471e99db8fb7e86e415917e5a05e4b8 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 55c9ceef70757404b513d3b1bbee847b4eb4c753..7bc24806bb2dbbf9b29a7aa93d0af1fd1bc81231 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r9"
+PR = "r10"
 
 require gcc-${PV}.inc
 require gcc-cross-sdk.inc
index 297bd8ece83528685e9bc79657b25290f608efb4..a326263c06f3d5ac2633cc44aef6a24706b05665 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
 
 inherit sdk
 
index ee4ce855afbdef2c343d788e215f7f52761b038e..297bd8ece83528685e9bc79657b25290f608efb4 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r7"
 
 inherit sdk
 
index 3b66660d9bf6339edcd7f55edbb5f64cf0e7180e..0a3af9e4693fe803073340c7039337dac987c1fe 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r4"
+PR = "r5"
 
 inherit sdk
 
index 13d395833eb6832cd190398ac8f6ca549f97a36f..876c65c369a5b6de85eaec708637ceb38ae9b958 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r13"
+PR = "r14"
 
 inherit sdk
 
index 8057608e0d13190079f4cc18d5f53bc01f66ceeb..ee4ce855afbdef2c343d788e215f7f52761b038e 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 inherit sdk
 
index 29ee187785299ecf1fde64d36c4c98c7f1af668b..7f3e1466ce3fa50bb6e01be95114d2191ceeb425 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r2"
 
 inherit sdk
 
index 361b0c10aabecd137229d73b02ee5ecf38662bdf..3352e41dcbc1046c6a5c4bfe06f8cf540a691ab3 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
 
 inherit sdk
 
index 0dc19c70b40732a9ad5624b88f5cf601b13cb94e..3d9cc0c53a35bec4823fce4dfe8f14a84f31942e 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}"