diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-17 12:22:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-30 17:33:12 +0000 |
commit | bd1cf71974699e4dd5fac88ffdf54cf7f53f67e3 (patch) | |
tree | fa74690dad73a74d068d12a9d77a65ac48038a14 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |
parent | 3e629b2061b375e6bfa7feb84dded37347251009 (diff) | |
download | poky-bd1cf71974699e4dd5fac88ffdf54cf7f53f67e3.tar.gz |
cross-canadian: Handle powerpc linux verses linux-gnuspe
PowerPC toolchains can use the OS "linux" or "linux-gnuspe". This
patch links them together so the one cross-canadian toolchain can support
both.
GCC_FOR_TARGET is set for the GCC recipe as otherwise configure
can pick up an incorrect value.
[YOCTO #5354]
(From OE-Core rev: a1d6331238982b0c5d39b0a18794f6654b00d46a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 64bb6ba722..900f1e594f 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |||
@@ -29,6 +29,7 @@ export AS_FOR_TARGET = "${TARGET_PREFIX}as" | |||
29 | export DLLTOOL_FOR_TARGET = "${TARGET_PREFIX}dlltool" | 29 | export DLLTOOL_FOR_TARGET = "${TARGET_PREFIX}dlltool" |
30 | export CC_FOR_TARGET = "${TARGET_PREFIX}gcc" | 30 | export CC_FOR_TARGET = "${TARGET_PREFIX}gcc" |
31 | export CXX_FOR_TARGET = "${TARGET_PREFIX}g++" | 31 | export CXX_FOR_TARGET = "${TARGET_PREFIX}g++" |
32 | export GCC_FOR_TARGET = "${TARGET_PREFIX}gcc" | ||
32 | export LD_FOR_TARGET = "${TARGET_PREFIX}ld" | 33 | export LD_FOR_TARGET = "${TARGET_PREFIX}ld" |
33 | export LIPO_FOR_TARGET = "${TARGET_PREFIX}lipo" | 34 | export LIPO_FOR_TARGET = "${TARGET_PREFIX}lipo" |
34 | export NM_FOR_TARGET = "${TARGET_PREFIX}nm" | 35 | export NM_FOR_TARGET = "${TARGET_PREFIX}nm" |
@@ -69,7 +70,7 @@ EXCLUDE_FROM_SHLIBS = "1" | |||
69 | PACKAGES = "${PN} ${PN}-doc" | 70 | PACKAGES = "${PN} ${PN}-doc" |
70 | 71 | ||
71 | FILES_${PN} = "\ | 72 | FILES_${PN} = "\ |
72 | ${bindir}/* \ | 73 | ${exec_prefix}/bin/* \ |
73 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \ | 74 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \ |
74 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ | 75 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ |
75 | ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ | 76 | ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ |
@@ -137,6 +138,8 @@ do_install () { | |||
137 | done | 138 | done |
138 | 139 | ||
139 | chown -R root:root ${D} | 140 | chown -R root:root ${D} |
141 | |||
142 | cross_canadian_bindirlinks | ||
140 | } | 143 | } |
141 | 144 | ||
142 | ELFUTILS = "nativesdk-elfutils" | 145 | ELFUTILS = "nativesdk-elfutils" |