diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-07 00:20:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-07 20:05:31 +0000 |
commit | 4485ea5807dd99b7f140b06b35654a6a70c286e4 (patch) | |
tree | 40e240190a18121f3ace7a528e9d836fc3762eb3 /meta/recipes-devtools/binutils/binutils_2.28.bb | |
parent | ee18a2b23391a5308abd9bd817d2e2471ce00270 (diff) | |
download | poky-4485ea5807dd99b7f140b06b35654a6a70c286e4.tar.gz |
binutils: Upgrade to 2.28 release
(From OE-Core rev: e9f839d5fe70a222cc7b8942f401ac86a10e6604)
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.28.bb')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.28.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.28.bb b/meta/recipes-devtools/binutils/binutils_2.28.bb new file mode 100644 index 0000000000..b51437bbc3 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils_2.28.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" | ||