summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils_2.25.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-08 00:11:40 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:53:09 +0100
commit2be79f0b1d0d53b8750d28013543b7ee853c1b42 (patch)
treef3586a5ff28b61c572df87938881ce3455f72cd9 /meta/recipes-devtools/binutils/binutils_2.25.bb
parentb3b6cfb48bb61f2efdd5c2325fcce3209b7894c7 (diff)
downloadpoky-2be79f0b1d0d53b8750d28013543b7ee853c1b42.tar.gz
binutils: upgrade to 2.25
* Remove the following patches since they are already in the new code: binutils/fix-pr15815.patch binutils/fix-pr16428.patch binutils/fix-pr16476.patch binutils/fix-pr2404.patch binutils/replace_macros_with_static_inline.patch binutils/binutils_CVE-2014-8484.patch binutils/binutils_CVE-2014-8485.patch binutils/binutils_CVE-2014-8501.patch binutils/binutils_CVE-2014-8502.patch binutils/binutils_CVE-2014-8502_1.patch binutils/binutils_CVE-2014-8503.patch binutils/binutils_CVE-2014-8504.patch binutils/binutils_CVE-2014-8737.patch * The file src-release is gone. * Updated patches for the new code. (From OE-Core rev: a8446ea78daa5875de43eb5bcccd8f536ea07e1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Conflicts: meta/conf/distro/include/tcmode-default.inc Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils_2.25.bb')
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.25.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.25.bb b/meta/recipes-devtools/binutils/binutils_2.25.bb
new file mode 100644
index 0000000000..738aaee590
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils_2.25.bb
@@ -0,0 +1,39 @@
1require binutils.inc
2require binutils-${PV}.inc
3
4DEPENDS += "flex bison zlib"
5
6EXTRA_OECONF += "--with-sysroot=/ \
7 --enable-install-libbfd \
8 --enable-install-libiberty \
9 --enable-shared \
10 "
11
12EXTRA_OECONF_class-native = "--enable-targets=all \
13 --enable-64-bit-bfd \
14 --enable-install-libiberty \
15 --enable-install-libbfd"
16
17do_install_class-native () {
18 autotools_do_install
19
20 # Install the libiberty header
21 install -d ${D}${includedir}
22 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
23 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
24
25 # We only want libiberty, libbfd and libopcodes
26 rm -rf ${D}${bindir}
27 rm -rf ${D}${prefix}/${TARGET_SYS}
28 rm -rf ${D}${prefix}/lib/ldscripts
29 rm -rf ${D}${prefix}/share/info
30 rm -rf ${D}${prefix}/share/locale
31 rm -rf ${D}${prefix}/share/man
32 rmdir ${D}${prefix}/share || :
33 rmdir ${D}/${libdir}/gcc-lib || :
34 rmdir ${D}/${libdir}64/gcc-lib || :
35 rmdir ${D}/${libdir} || :
36 rmdir ${D}/${libdir}64 || :
37}
38
39BBCLASSEXTEND = "native"