summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2011-01-05 10:18:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-06 10:06:29 +0000
commit73cc14980c5770d98473eadb0a4a986d2830f675 (patch)
treef07328301f9ebf4d01fd3e428c5791441cc62145 /meta
parent39305385868901248c569456a1c7e30cc5166cad (diff)
downloadpoky-73cc14980c5770d98473eadb0a4a986d2830f675.tar.gz
binutils: use default ${CC} instead of defining it own
binutils.inc exports its own ${CC} which is similar to default ${CC} but missing ${TOOLCHAIN_OPTION}, which makes --sysroot option lost when compiling target binutils which then further breaks sstate. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.20.1.bb2
2 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 7f1f647977..d9e859ef2b 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -75,8 +75,6 @@ export CC_FOR_BUILD = "${BUILD_CC}"
75export CPP_FOR_BUILD = "${BUILD_CPP}" 75export CPP_FOR_BUILD = "${BUILD_CPP}"
76export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" 76export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
77 77
78export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
79
80do_configure () { 78do_configure () {
81 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" 79 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
82 oe_runconf 80 oe_runconf
diff --git a/meta/recipes-devtools/binutils/binutils_2.20.1.bb b/meta/recipes-devtools/binutils/binutils_2.20.1.bb
index b7212e7996..75837b158f 100644
--- a/meta/recipes-devtools/binutils/binutils_2.20.1.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.20.1.bb
@@ -1,6 +1,6 @@
1require binutils.inc 1require binutils.inc
2 2
3PR = "r3" 3PR = "r4"
4 4
5LIC_FILES_CHKSUM="\ 5LIC_FILES_CHKSUM="\
6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ 6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\