summaryrefslogtreecommitdiff
path: root/recipes/binutils/binutils-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/binutils/binutils-cross.inc')
-rw-r--r--recipes/binutils/binutils-cross.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/binutils/binutils-cross.inc b/recipes/binutils/binutils-cross.inc
index bd22c92e16..432e1a7b06 100644
--- a/recipes/binutils/binutils-cross.inc
+++ b/recipes/binutils/binutils-cross.inc
@@ -6,10 +6,14 @@ PACKAGES = ""
EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
--program-prefix=${TARGET_PREFIX} \
--enable-install-libbfd \
- --disable-werror"
+ --enable-shared \
+ --disable-werror \
+ "
do_install () {
oe_runmake 'DESTDIR=${D}' install
+ install -m 0644 libiberty/pic/libiberty.a \
+ ${D}${libdir}/libiberty_pic.a
# We don't really need these, so we'll remove them...
rm -rf ${D}${CROSS_DIR}/lib/ldscripts
@@ -23,7 +27,3 @@ do_install () {
rmdir ${D}${CROSS_DIR}/${libdir}64 || :
rmdir ${D}${CROSS_DIR}/${prefix} || :
}
-
-do_stage () {
- use_do_install_for_stage
-}