mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
Also rearrange the recipes to have common bits in inc files and not include the target bb file everywhere. This lets us add specific options to specific recipes particularly target recipe in this case (From OE-Core rev: f4ed063e32f064e996a4c29760fa4ac49f1ed73c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
787 B
PHP
23 lines
787 B
PHP
inherit cross-canadian
|
|
|
|
DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
|
|
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
|
BPN = "binutils"
|
|
|
|
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
|
EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
|
|
"
|
|
do_install () {
|
|
autotools_do_install
|
|
|
|
# We're not interested in the libs or headers, these would come from the
|
|
# nativesdk or target version of the binutils recipe
|
|
rm -rf ${D}${prefix}/${TARGET_SYS}
|
|
rm -f ${D}${libdir}/libbfd*
|
|
rm -f ${D}${libdir}/libiberty*
|
|
rm -f ${D}${libdir}/libopcodes*
|
|
rm -f ${D}${includedir}/*.h
|
|
}
|
|
|
|
BBCLASSEXTEND = ""
|