Files
meta-external-toolchain/recipes-external/gcc/gcc-external.inc
Christopher Larson bfc86fd9c4 oe.external: move common functions here
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>
2015-07-29 13:10:51 -07:00

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 \
"