diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 2440509207..19cb06a7f5 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -50,13 +50,10 @@ FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" | |||
50 | B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | 50 | B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" |
51 | 51 | ||
52 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 52 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ |
53 | --enable-install-libbfd \ | ||
54 | --enable-shared \ | ||
55 | --disable-werror \ | 53 | --disable-werror \ |
54 | ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \ | ||
56 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" | 55 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" |
57 | 56 | ||
58 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" | ||
59 | |||
60 | # This is necessary due to a bug in the binutils Makefiles | 57 | # This is necessary due to a bug in the binutils Makefiles |
61 | # EXTRA_OEMAKE = "configure-build-libiberty all" | 58 | # EXTRA_OEMAKE = "configure-build-libiberty all" |
62 | 59 | ||
@@ -124,28 +121,6 @@ do_install () { | |||
124 | oe_multilib_header bfd.h | 121 | oe_multilib_header bfd.h |
125 | } | 122 | } |
126 | 123 | ||
127 | do_install_virtclass-native () { | ||
128 | autotools_do_install | ||
129 | |||
130 | # Install the libiberty header | ||
131 | install -d ${D}${includedir} | ||
132 | install -m 644 ${S}/include/ansidecl.h ${D}${includedir} | ||
133 | install -m 644 ${S}/include/libiberty.h ${D}${includedir} | ||
134 | |||
135 | # We only want libiberty, libbfd and libopcodes | ||
136 | rm -rf ${D}${bindir} | ||
137 | rm -rf ${D}${prefix}/${TARGET_SYS} | ||
138 | rm -rf ${D}${prefix}/lib/ldscripts | ||
139 | rm -rf ${D}${prefix}/share/info | ||
140 | rm -rf ${D}${prefix}/share/locale | ||
141 | rm -rf ${D}${prefix}/share/man | ||
142 | rmdir ${D}${prefix}/share || : | ||
143 | rmdir ${D}/${libdir}/gcc-lib || : | ||
144 | rmdir ${D}/${libdir}64/gcc-lib || : | ||
145 | rmdir ${D}/${libdir} || : | ||
146 | rmdir ${D}/${libdir}64 || : | ||
147 | } | ||
148 | |||
149 | inherit update-alternatives | 124 | inherit update-alternatives |
150 | 125 | ||
151 | ALTERNATIVE_PRIORITY = "100" | 126 | ALTERNATIVE_PRIORITY = "100" |