mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-16 12:13:08 +02:00
Also provide external-common.bbclass to wrap its inclusion and setup associated metadata. This will make easier to search sysroots for files without pulling in the rest of the external toolchain class. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
20 lines
544 B
PHP
20 lines
544 B
PHP
SUMMARY = "The GNU Compiler Collection"
|
|
HOMEPAGE = "http://www.gnu.org/software/gcc/"
|
|
SECTION = "devel"
|
|
GCC_VERSION := "${@oe.external.run(d, 'gcc', '-dumpversion').rstrip()}"
|
|
PV = "${GCC_VERSION}"
|
|
|
|
inherit external-toolchain
|
|
|
|
gcc_binaries = "\
|
|
${TARGET_PREFIX}gcc \
|
|
${TARGET_PREFIX}gcc-${@'${PV}'.replace('${EXTERNAL_PV_SUFFIX}', '')} \
|
|
${TARGET_PREFIX}gcc-ar \
|
|
${TARGET_PREFIX}gcc-nm \
|
|
${TARGET_PREFIX}gcc-ranlib \
|
|
${TARGET_PREFIX}gcov \
|
|
${TARGET_PREFIX}c++ \
|
|
${TARGET_PREFIX}g++ \
|
|
${TARGET_PREFIX}cpp \
|
|
"
|