aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-11-26 16:38:38 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-26 16:38:38 +0100
commit04ad2bdcf5b2906433df00087494e86e38ae7638 (patch)
tree1a55cc71d6f0d8650bf4498df7d0ea3876d1bdeb
parent5feadc6bf4477e3c70590f923484d5663ab743d3 (diff)
downloadopenembedded-04ad2bdcf5b2906433df00087494e86e38ae7638.tar.gz
binutils{,cross}.inc: Install/stage libiberty.
Hack using both install/staging because of fscked-up staging dirs. Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
-rw-r--r--recipes/binutils/binutils-cross.inc2
-rw-r--r--recipes/binutils/binutils.inc2
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cross.inc b/recipes/binutils/binutils-cross.inc
index cd58bfc380..36920656ae 100644
--- a/recipes/binutils/binutils-cross.inc
+++ b/recipes/binutils/binutils-cross.inc
@@ -12,6 +12,8 @@ do_stage () {
oe_runmake install
install -d ${CROSS_DIR}/include
install -m 0644 ${S}/include/libiberty.h ${CROSS_DIR}/include
+# install -d ${CROSS_DIR}/lib
+# install -m 0644 ${S}/lib/libiberty.a ${CROSS_DIR}/lib
# We don't really need these, so we'll remove them...
rm -rf ${CROSS_DIR}/lib/ldscripts
diff --git a/recipes/binutils/binutils.inc b/recipes/binutils/binutils.inc
index 49d3aeaa3c..81b352866d 100644
--- a/recipes/binutils/binutils.inc
+++ b/recipes/binutils/binutils.inc
@@ -113,6 +113,8 @@ do_install () {
install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
install -m 644 ${S}/include/libiberty.h ${D}${includedir}
+ oe_libinstall -a -C libiberty libiberty
+
cd ${D}${bindir}
# Symlinks for ease of running these on the native target