[poky] [PATCH 2/2] binutils: Allow plugins
Khem Raj
raj.khem at gmail.com
Sat Jan 21 14:58:23 PST 2012
On (03/01/12 20:23), Derek Buitenhuis wrote:
> Make sure it's possible to build binutils with
> plugin support.
>
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> .../binutils/binutils-cross-canadian.inc | 3 ++-
> meta/recipes-devtools/binutils/binutils-cross.inc | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> index 00648a6..4f20ad7 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> @@ -8,7 +8,8 @@ DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/l
> EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
> --program-prefix=${TARGET_PREFIX} \
> --disable-werror \
> - ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
> + ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'binutils-plugins', '--enable-plugins', '', d)}"
enabling plugins regardless is a good thing and since we use binutils
2.22+ now a days in oe-core plugins are well supported. Please submit the patch
where you add this option (--enable-plugins) to binutils common configure
that will be add to EXTRA_OECONF in binutils.inc
-Khem
More information about the poky
mailing list