Merge bk://openembedded@openembedded.bkbits.net/packages-devel
authorPhil Blundell <philb@gnu.org>
Sun, 21 Nov 2004 00:55:55 +0000 (00:55 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 21 Nov 2004 00:55:55 +0000 (00:55 +0000)
into stealth.nexus.co.uk:/home/pb/oe/oe-packages

2004/11/20 19:55:54-05:00 handhelds.org!kergoth
Merge openembedded@openembedded.bkbits.net:packages-devel
into handhelds.org:/home/kergoth/code/packages

2004/11/20 19:55:37-05:00 handhelds.org!kergoth
In the binutils builds, package /usr/${TARGET_SYS}/bin/*, and ensure they point to the correct place.  This is one of the last major outstanding bugs in the native development environment.

BKrev: 419fe79bxSA9MZFcPyiTz8xSVAsoqA

binutils/binutils_2.14.90.0.6.oe
binutils/binutils_2.14.90.0.7.oe
binutils/binutils_2.15.90.0.3.oe
binutils/binutils_2.15.91.0.1.oe
binutils/binutils_2.15.91.0.2.oe
binutils/binutils_cvs.oe

index e5f7cd0..6c15e89 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "devel"
 inherit autotools gettext
 
-PR = "r1"
+PR = "r2"
 
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
@@ -11,7 +11,8 @@ PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -102,6 +103,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
index 139bc45..dec7833 100644 (file)
@@ -4,13 +4,14 @@ inherit autotools gettext
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r2"
+PR = "r3"
 
 PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -102,6 +103,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
index 466def8..7737275 100644 (file)
@@ -4,13 +4,14 @@ inherit autotools gettext
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r2"
+PR = "r3"
 
 PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -100,6 +101,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
index d92cc90..e36f656 100644 (file)
@@ -4,13 +4,14 @@ inherit autotools gettext
 DESCRIPTION = "A GNU collection of binary utilities"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r2"
+PR = "r3"
 
 PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -99,6 +100,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
index a2f1add..b1c10d3 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
 SECTION = "devel"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r4"
+PR = "r5"
 
 inherit autotools gettext
 
@@ -11,7 +11,8 @@ PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -102,6 +103,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
index d9ae5ce..eb6de96 100644 (file)
@@ -6,13 +6,14 @@ LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
 FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-cvs"
 PV = "0.0cvs${CVSDATE}"
-PR = "r1"
+PR = "r2"
 
 PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
 
 FILES_${PN} = " \
        ${bindir}/${TARGET_PREFIX}* \
-       ${libdir}/lib*-*.so"
+       ${libdir}/lib*-*.so \
+       ${prefix}/${TARGET_SYS}/bin/*"
 
 FILES_${PN}-dev = " \
        ${includedir} \
@@ -99,6 +100,14 @@ do_install () {
        # We don't really need these, so we'll remove them...
        rm -rf ${D}/${libdir}/ldscripts
 
+       # Fix the /usr/${TARGET_SYS}/bin/* links
+       for l in ${D}/${prefix}/${TARGET_SYS}/bin/*; do
+               rm -f $l
+               ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
+                       | tr -s / \
+                       | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
+       done
+
        # Install the libiberty header
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
        install -m 644 ${S}/include/libiberty.h ${D}/${includedir}