diff options
author | Kevin Tian <kevin.tian@intel.com> | 2011-01-05 10:18:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-06 10:06:29 +0000 |
commit | 73cc14980c5770d98473eadb0a4a986d2830f675 (patch) | |
tree | f07328301f9ebf4d01fd3e428c5791441cc62145 /meta/recipes-devtools | |
parent | 39305385868901248c569456a1c7e30cc5166cad (diff) | |
download | poky-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/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.20.1.bb | 2 |
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}" | |||
75 | export CPP_FOR_BUILD = "${BUILD_CPP}" | 75 | export CPP_FOR_BUILD = "${BUILD_CPP}" |
76 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | 76 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" |
77 | 77 | ||
78 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | ||
79 | |||
80 | do_configure () { | 78 | do_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 @@ | |||
1 | require binutils.inc | 1 | require binutils.inc |
2 | 2 | ||
3 | PR = "r3" | 3 | PR = "r4" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM="\ | 5 | LIC_FILES_CHKSUM="\ |
6 | file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ | 6 | file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ |