diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-30 06:28:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-31 13:29:44 +0000 |
commit | 86ade2cc2553c942d9526c5323a11ae151653505 (patch) | |
tree | e909cd48c4c2cd2826f3de284e7e183e4d9970f0 /meta/recipes-devtools/binutils/binutils_2.26.bb | |
parent | fd75637d97cc3d669229e59c1d21ce7038fc92d7 (diff) | |
download | openembedded-core-86ade2cc2553c942d9526c5323a11ae151653505.tar.gz openembedded-core-86ade2cc2553c942d9526c5323a11ae151653505.tar.bz2 openembedded-core-86ade2cc2553c942d9526c5323a11ae151653505.zip |
binutils: Upgrade to 2.26
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.26.bb')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.26.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.26.bb b/meta/recipes-devtools/binutils/binutils_2.26.bb new file mode 100644 index 0000000000..6f42671ed0 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils_2.26.bb @@ -0,0 +1,39 @@ +require binutils.inc +require binutils-${PV}.inc + +DEPENDS += "flex bison zlib" + +EXTRA_OECONF += "--with-sysroot=/ \ + --enable-install-libbfd \ + --enable-install-libiberty \ + --enable-shared \ + " + +EXTRA_OECONF_class-native = "--enable-targets=all \ + --enable-64-bit-bfd \ + --enable-install-libiberty \ + --enable-install-libbfd" + +do_install_class-native () { + autotools_do_install + + # Install the libiberty header + install -d ${D}${includedir} + install -m 644 ${S}/include/ansidecl.h ${D}${includedir} + install -m 644 ${S}/include/libiberty.h ${D}${includedir} + + # We only want libiberty, libbfd and libopcodes + rm -rf ${D}${bindir} + rm -rf ${D}${prefix}/${TARGET_SYS} + rm -rf ${D}${prefix}/lib/ldscripts + rm -rf ${D}${prefix}/share/info + rm -rf ${D}${prefix}/share/locale + rm -rf ${D}${prefix}/share/man + rmdir ${D}${prefix}/share || : + rmdir ${D}/${libdir}/gcc-lib || : + rmdir ${D}/${libdir}64/gcc-lib || : + rmdir ${D}/${libdir} || : + rmdir ${D}/${libdir}64 || : +} + +BBCLASSEXTEND = "native nativesdk" |