diff options
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 982224ff2f..f07907ef13 100644 --- a/meta/recipes-devtools/binutils/binutils-cross.inc +++ b/meta/recipes-devtools/binutils/binutils-cross.inc | |||
@@ -10,7 +10,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ | |||
10 | --disable-werror \ | 10 | --disable-werror \ |
11 | --disable-nls \ | 11 | --disable-nls \ |
12 | --enable-poison-system-directories \ | 12 | --enable-poison-system-directories \ |
13 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}" | 13 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \ |
14 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | ||
14 | 15 | ||
15 | do_install () { | 16 | do_install () { |
16 | oe_runmake 'DESTDIR=${D}' install | 17 | oe_runmake 'DESTDIR=${D}' install |
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 58fee854e3..51e425791c 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -49,7 +49,8 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | |||
49 | 49 | ||
50 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 50 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ |
51 | --enable-install-libbfd \ | 51 | --enable-install-libbfd \ |
52 | --enable-shared" | 52 | --enable-shared \ |
53 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | ||
53 | 54 | ||
54 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" | 55 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" |
55 | 56 | ||