diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-08-06 17:41:23 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:28 +0100 |
| commit | 30ab044dacf2b8ece625c0735b620b2c47b8cf40 (patch) | |
| tree | 2c3950f80d0079aed26c15ad8c95bc26c0263741 /meta/recipes-devtools/binutils/binutils_2.27.bb | |
| parent | 26c6b10da83dcb7a1bcacabcf32e4ee2fab84057 (diff) | |
| download | poky-30ab044dacf2b8ece625c0735b620b2c47b8cf40.tar.gz | |
binutils: Bump to 2.27
(From OE-Core rev: 3f1eb2556026572dca9476c561d89b86723395c7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils_2.27.bb')
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.27.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.27.bb b/meta/recipes-devtools/binutils/binutils_2.27.bb new file mode 100644 index 0000000000..b51437bbc3 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils_2.27.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | require binutils.inc | ||
| 2 | require binutils-${PV}.inc | ||
| 3 | |||
| 4 | DEPENDS += "flex bison zlib" | ||
| 5 | |||
| 6 | EXTRA_OECONF += "--with-sysroot=/ \ | ||
| 7 | --enable-install-libbfd \ | ||
| 8 | --enable-install-libiberty \ | ||
| 9 | --enable-shared \ | ||
| 10 | --with-system-zlib \ | ||
| 11 | " | ||
| 12 | |||
| 13 | EXTRA_OEMAKE_append_libc-musl = "\ | ||
| 14 | gt_cv_func_gnugettext1_libc=yes \ | ||
| 15 | gt_cv_func_gnugettext2_libc=yes \ | ||
| 16 | " | ||
| 17 | EXTRA_OECONF_class-native = "--enable-targets=all \ | ||
| 18 | --enable-64-bit-bfd \ | ||
| 19 | --enable-install-libiberty \ | ||
| 20 | --enable-install-libbfd \ | ||
| 21 | --disable-werror" | ||
| 22 | |||
| 23 | do_install_class-native () { | ||
| 24 | autotools_do_install | ||
| 25 | |||
| 26 | # Install the libiberty header | ||
| 27 | install -d ${D}${includedir} | ||
| 28 | install -m 644 ${S}/include/ansidecl.h ${D}${includedir} | ||
| 29 | install -m 644 ${S}/include/libiberty.h ${D}${includedir} | ||
| 30 | |||
| 31 | # We only want libiberty, libbfd and libopcodes | ||
| 32 | rm -rf ${D}${bindir} | ||
| 33 | rm -rf ${D}${prefix}/${TARGET_SYS} | ||
| 34 | rm -rf ${D}${prefix}/lib/ldscripts | ||
| 35 | rm -rf ${D}${prefix}/share/info | ||
| 36 | rm -rf ${D}${prefix}/share/locale | ||
| 37 | rm -rf ${D}${prefix}/share/man | ||
| 38 | rmdir ${D}${prefix}/share || : | ||
| 39 | rmdir ${D}/${libdir}/gcc-lib || : | ||
| 40 | rmdir ${D}/${libdir}64/gcc-lib || : | ||
| 41 | rmdir ${D}/${libdir} || : | ||
| 42 | rmdir ${D}/${libdir}64 || : | ||
| 43 | } | ||
| 44 | |||
| 45 | BBCLASSEXTEND = "native nativesdk" | ||
