summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-07 15:51:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:53:21 +0100
commit26648dcd1c6711779b1908b32fb0581a1bb92425 (patch)
tree1eabb3c19ae7b5be68f176c0a0aef37f88d2edeb
parent33db621e4e17fbebccc7f8b1652fc5479286140e (diff)
downloadpoky-26648dcd1c6711779b1908b32fb0581a1bb92425.tar.gz
binutils: Allow gold to build even when not the default
It can be useful to have gold available for testing even when its not the default, therefore build gold by default in all configurations. (From OE-Core rev: 67dc1df30ec9f38c41df0ad88978e8135e00dd18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index afb582ad67..3c65efca41 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -73,7 +73,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
73 73
74LDGOLD_class-native = "" 74LDGOLD_class-native = ""
75LDGOLD_class-crosssdk = "" 75LDGOLD_class-crosssdk = ""
76LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)}" 76LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default', d)}"
77 77
78# This is necessary due to a bug in the binutils Makefiles 78# This is necessary due to a bug in the binutils Makefiles
79# EXTRA_OEMAKE = "configure-build-libiberty all" 79# EXTRA_OEMAKE = "configure-build-libiberty all"