mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
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>
This commit is contained in:
@@ -29,6 +29,7 @@ export AS_FOR_TARGET = "${TARGET_PREFIX}as"
|
||||
export DLLTOOL_FOR_TARGET = "${TARGET_PREFIX}dlltool"
|
||||
export CC_FOR_TARGET = "${TARGET_PREFIX}gcc"
|
||||
export CXX_FOR_TARGET = "${TARGET_PREFIX}g++"
|
||||
export GCC_FOR_TARGET = "${TARGET_PREFIX}gcc"
|
||||
export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
|
||||
export LIPO_FOR_TARGET = "${TARGET_PREFIX}lipo"
|
||||
export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
|
||||
@@ -69,7 +70,7 @@ EXCLUDE_FROM_SHLIBS = "1"
|
||||
PACKAGES = "${PN} ${PN}-doc"
|
||||
|
||||
FILES_${PN} = "\
|
||||
${bindir}/* \
|
||||
${exec_prefix}/bin/* \
|
||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \
|
||||
${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
|
||||
${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
|
||||
@@ -137,6 +138,8 @@ do_install () {
|
||||
done
|
||||
|
||||
chown -R root:root ${D}
|
||||
|
||||
cross_canadian_bindirlinks
|
||||
}
|
||||
|
||||
ELFUTILS = "nativesdk-elfutils"
|
||||
|
||||
Reference in New Issue
Block a user