diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-02-01 01:00:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 22:37:40 +0000 |
commit | d4b11e8f160350e4530e174d2c93e06fe90e48c6 (patch) | |
tree | 7e253c46b998de7a55ad6e8c22dfcc12733ab671 /meta/recipes-devtools/binutils/binutils_2.24.bb | |
parent | a42f84682fb0522beacfb445ccfd482fe536d629 (diff) | |
download | poky-d4b11e8f160350e4530e174d2c93e06fe90e48c6.tar.gz |
binutils: Upgrade to 2.24
This builds and runs images for all qemu machines
(From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e)
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.24.bb')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.24.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.24.bb b/meta/recipes-devtools/binutils/binutils_2.24.bb new file mode 100644 index 0000000000..738aaee590 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils_2.24.bb | |||
@@ -0,0 +1,39 @@ | |||
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 | " | ||
11 | |||
12 | EXTRA_OECONF_class-native = "--enable-targets=all \ | ||
13 | --enable-64-bit-bfd \ | ||
14 | --enable-install-libiberty \ | ||
15 | --enable-install-libbfd" | ||
16 | |||
17 | do_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 | |||
39 | BBCLASSEXTEND = "native" | ||