diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils_2.22.bb')
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.22.bb | 60 |
1 files changed, 25 insertions, 35 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb index 7b6adef122..b8e1112fa5 100644 --- a/meta/recipes-devtools/binutils/binutils_2.22.bb +++ b/meta/recipes-devtools/binutils/binutils_2.22.bb | |||
| @@ -1,42 +1,32 @@ | |||
| 1 | require binutils.inc | 1 | require binutils.inc |
| 2 | require binutils-${PV}.inc | ||
| 3 | EXTRA_OECONF += "--with-sysroot=/ \ | ||
| 4 | --enable-install-libbfd \ | ||
| 5 | --enable-shared \ | ||
| 6 | " | ||
| 2 | 7 | ||
| 3 | PR = "r9" | 8 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" |
| 4 | 9 | ||
| 5 | LIC_FILES_CHKSUM="\ | 10 | do_install_virtclass-native () { |
| 6 | file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ | 11 | autotools_do_install |
| 7 | file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ | ||
| 8 | file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\ | ||
| 9 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\ | ||
| 10 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\ | ||
| 11 | file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\ | ||
| 12 | file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ | ||
| 13 | file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\ | ||
| 14 | file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\ | ||
| 15 | file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\ | ||
| 16 | " | ||
| 17 | 12 | ||
| 18 | SRC_URI = "\ | 13 | # Install the libiberty header |
| 19 | ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ | 14 | install -d ${D}${includedir} |
| 20 | file://binutils-uclibc-100-uclibc-conf.patch \ | 15 | install -m 644 ${S}/include/ansidecl.h ${D}${includedir} |
| 21 | file://binutils-uclibc-300-001_ld_makefile_patch.patch \ | 16 | install -m 644 ${S}/include/libiberty.h ${D}${includedir} |
| 22 | file://binutils-uclibc-300-006_better_file_error.patch \ | ||
| 23 | file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ | ||
| 24 | file://binutils-uclibc-gas-needs-libm.patch \ | ||
| 25 | file://binutils-x86_64_i386_biarch.patch \ | ||
| 26 | file://libtool-2.4-update.patch \ | ||
| 27 | file://binutils-2.19.1-ld-sysroot.patch \ | ||
| 28 | file://libiberty_path_fix.patch \ | ||
| 29 | file://binutils-poison.patch \ | ||
| 30 | file://libtool-rpath-fix.patch \ | ||
| 31 | file://clone-shadow.patch \ | ||
| 32 | file://binutils-powerpc-e5500.patch \ | ||
| 33 | file://binutils-armv5e.patch \ | ||
| 34 | file://mips64-default-ld-emulation.patch \ | ||
| 35 | file://0001-PR-ld-13470.patch \ | ||
| 36 | " | ||
| 37 | |||
| 38 | SRC_URI[md5sum] = "ee0f10756c84979622b992a4a61ea3f5" | ||
| 39 | SRC_URI[sha256sum] = "6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9" | ||
| 40 | 17 | ||
| 18 | # We only want libiberty, libbfd and libopcodes | ||
| 19 | rm -rf ${D}${bindir} | ||
| 20 | rm -rf ${D}${prefix}/${TARGET_SYS} | ||
| 21 | rm -rf ${D}${prefix}/lib/ldscripts | ||
| 22 | rm -rf ${D}${prefix}/share/info | ||
| 23 | rm -rf ${D}${prefix}/share/locale | ||
| 24 | rm -rf ${D}${prefix}/share/man | ||
| 25 | rmdir ${D}${prefix}/share || : | ||
| 26 | rmdir ${D}/${libdir}/gcc-lib || : | ||
| 27 | rmdir ${D}/${libdir}64/gcc-lib || : | ||
| 28 | rmdir ${D}/${libdir} || : | ||
| 29 | rmdir ${D}/${libdir}64 || : | ||
| 30 | } | ||
| 41 | 31 | ||
| 42 | BBCLASSEXTEND = "native" | 32 | BBCLASSEXTEND = "native" |
