diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2011-08-21 17:52:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:33 -0700 |
commit | b6bd7133c269c40fb9ee1ae66f1cb256fd9a7aa4 (patch) | |
tree | 653f646302f64ee5412ed15d3e4d780029fdc658 /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | ac77252ffb6a6b464b5f42499de9989f13839d01 (diff) | |
download | poky-b6bd7133c269c40fb9ee1ae66f1cb256fd9a7aa4.tar.gz |
bitbake meta-toolchain with gcc 4.5.1 failed
Fixes bug [YOCTO #1386]
1) Add the following lines to conf/local.conf:
SDKGCCVERSION="4.5.1"
GCCVERSION="4.5.1"
2) bitbake meta-toolchain
The we will notice the error that sed can't find the directory:
${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}
we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't
update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc
would make it work.
(From OE-Core rev: 282773ff3e0f365c08ae7e8fe759029f33e575b1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 52431fa4f2..f83f4da798 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -40,7 +40,7 @@ ${GNU_MIRROR}/gcc/ http://gcc.get-software.com/releases/ \n \ | |||
40 | gcclibdir = "${libdir}/gcc" | 40 | gcclibdir = "${libdir}/gcc" |
41 | BINV = "${PV}" | 41 | BINV = "${PV}" |
42 | #S = "${WORKDIR}/gcc-${PV}" | 42 | #S = "${WORKDIR}/gcc-${PV}" |
43 | S = "${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR}" | 43 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
44 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 44 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
45 | 45 | ||
46 | # SS means Shared Stamps directory | 46 | # SS means Shared Stamps directory |