diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-24 01:07:54 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-24 01:07:54 +0100 |
commit | 33ee4079a242275ef53be12de6b1e9115096b878 (patch) | |
tree | 4eb4e067298dd25b6f0fb860e0ae2c56c3937463 /meta/packages/binutils/binutils-cross-canadian.inc | |
parent | 8b3f94e27d5747f99e13c4fbe9e30375c185092f (diff) | |
download | openembedded-core-33ee4079a242275ef53be12de6b1e9115096b878.tar.gz openembedded-core-33ee4079a242275ef53be12de6b1e9115096b878.tar.bz2 openembedded-core-33ee4079a242275ef53be12de6b1e9115096b878.zip |
binutils: Add native version and tweak
Enable use of BBCLASSEXTEND to generate a native verison of binutils for the
libiberty, libbfd and libopcodes libs.
Also stop installing useless libs in the cross-canadian recipe.
Partially based on a patch by Mark Hatle <mhatle@windriver.com>.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/binutils/binutils-cross-canadian.inc')
-rw-r--r-- | meta/packages/binutils/binutils-cross-canadian.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/packages/binutils/binutils-cross-canadian.inc b/meta/packages/binutils/binutils-cross-canadian.inc index 23dfa161eb..04fa6e2de0 100644 --- a/meta/packages/binutils/binutils-cross-canadian.inc +++ b/meta/packages/binutils/binutils-cross-canadian.inc @@ -13,8 +13,10 @@ do_install () { ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" done - # 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're not interested in the libs or headers, these would come from the + # nativesdk or target version of the binutils recipe + rm -f ${D}${libdir}/libbfd* + rm -f ${D}${libdir}/libiberty* + rm -f ${D}${libdir}/libopcodes* + rm -f ${D}${includedir}/*.h } |