mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +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>
23 lines
753 B
BlitzBasic
23 lines
753 B
BlitzBasic
inherit external-toolchain-cross
|
|
|
|
SUMMARY = "GNU binary utilities"
|
|
HOMEPAGE = "http://www.gnu.org/software/binutils/"
|
|
BUGTRACKER = "http://sourceware.org/bugzilla/"
|
|
SECTION = "devel"
|
|
PN .= "-${TARGET_ARCH}"
|
|
PV := "${@oe.external.run(d, 'ld', '-v').splitlines()[0].split()[-1].rstrip()}"
|
|
LICENSE = "${@'GPLv3' if '${PV}'.split('.') > '2.17.50.0.12'.split('.') else 'GPLv2'}"
|
|
|
|
PROVIDES += "\
|
|
${@'${PN}'.replace('-${TARGET_ARCH}', '')} \
|
|
virtual/${TARGET_PREFIX}binutils \
|
|
"
|
|
|
|
EXTERNAL_CROSS_BINARIES = "ar as ld nm objcopy objdump ranlib strip \
|
|
addr2line c++filt elfedit gprof readelf size \
|
|
strings"
|
|
|
|
do_install_append () {
|
|
ln -s ${TARGET_PREFIX}ld ${D}${bindir}/${TARGET_PREFIX}ld.bfd
|
|
}
|