binutils: change do_stage to use autotools_stage_all in binutils.inc
authorJohn Bowler <jbowler@nslu2-linux.org>
Tue, 3 Jan 2006 01:52:01 +0000 (01:52 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 3 Jan 2006 01:52:01 +0000 (01:52 +0000)
packages/binutils/binutils-cross-sdk_2.15.91.0.2.bb
packages/binutils/binutils.inc
packages/binutils/binutils_2.16.bb

index 7b51227..65130e6 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "devel"
-PR = "r1"
+PR = "r2"
 include binutils_${PV}.bb
 inherit sdk
 DEPENDS += "flex-native bison-native"
index 680e579..938fc57 100644 (file)
@@ -63,15 +63,7 @@ do_configure () {
 }
 
 do_stage () {
-       oe_libinstall -so -a -C opcodes libopcodes ${STAGING_LIBDIR}/
-       oe_libinstall -a -C libiberty libiberty ${STAGING_LIBDIR}/
-       oe_libinstall -so -a -C bfd libbfd ${STAGING_LIBDIR}/
-       install -m 0644 ${S}/include/dis-asm.h ${STAGING_INCDIR}/
-       install -m 0644 ${S}/include/symcat.h ${STAGING_INCDIR}/
-       install -m 0644 ${S}/include/libiberty.h ${STAGING_INCDIR}/
-       install -m 0644 ${S}/include/ansidecl.h ${STAGING_INCDIR}/
-       install -m 0644 ${S}/include/bfdlink.h ${STAGING_INCDIR}/
-       install -m 0644 bfd/bfd.h ${STAGING_INCDIR}/
+       autotools_stage_all
 }
 
 do_install () {
index bb66ca6..d852a2b 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
 SECTION = "devel"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = \
     "http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \
@@ -19,18 +19,7 @@ SRC_URI += "file://binutils-2.16-linux-uclibc.patch;patch=1"
 SRC_URI += "file://binutils-2.16-thumb-trampoline.patch;patch=1"
 SRC_URI += "file://binutils-2.16-thumb-glue.patch;patch=1"
 
-#to be removed:
-# this patch does not seem to do anything any longer
-#SRC_URI += "file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1"
-
 S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 include binutils.inc
-
-#to be removed:
-# This was not doing anything because it used the ${B} directory and there
-# was no configure.ac or configure.in in there.
-#do_configure_prepend() {
-#      for dir in bfd gas ld; do ( cd $dir; autoreconf ); done
-#}