[poky] [PATCH 2/2 v2] binutils: Always enable plugins
Khem Raj
raj.khem at gmail.com
Sun Jan 22 10:57:18 PST 2012
On Sun, Jan 22, 2012 at 10:41 AM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> Since oe-core now uses binutils 2.22+, plugins should be
> well supported. Enable them by default.
>
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> .../binutils/binutils-cross-canadian.inc | 1 +
> meta/recipes-devtools/binutils/binutils-cross.inc | 1 +
> meta/recipes-devtools/binutils/binutils.inc | 1 +
> 3 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> index 15b9abb..c902c51 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> @@ -8,6 +8,7 @@ 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 \
> + --enable-plugins \
> ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
>
> do_install () {
> diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
> index 80152a9..38457e8 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross.inc
> @@ -9,6 +9,7 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
> --disable-install-libbfd \
> --disable-werror \
> --enable-poison-system-directories \
> + --enable-plugins \
> ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
>
> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
> index 30a0416..5449e1a 100644
> --- a/meta/recipes-devtools/binutils/binutils.inc
> +++ b/meta/recipes-devtools/binutils/binutils.inc
> @@ -52,6 +52,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
> EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
> --enable-install-libbfd \
> --enable-shared \
> + --enable-plugins \
> ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
>
> EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
> --
> 1.7.8.3
while this patch is ok. It occurs to me that we might have to find an
easier way to specify common options once for all binutils recipes
>
More information about the poky
mailing list