Misc sync up changes
cover Misc sync up changes
The following series brings in a few fixups I pushed to openembedded today. In short, in gcc/binutils we were referencing TARGET_SYS in places where we had told configure to mangle things based on TARGET_PREFIX and in the cases where they don't match, it wasn't working. I had also just run into some missing DEPENDS cases so they are included in this branch as well.
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: trini/misc-sync-up
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=trini/misc-sync-up
Thanks,
Tom Rini <[email protected]>
---
Tom Rini (4):
gcc-package-target: Switch to TARGET_PREFIX in symlinks binutils.inc: Switch to TARGET_PREFIX not TARGET_SYS sysstat.inc: Switch to inherit gettext bash.inc: Add bison-native to DEPENDS
meta/recipes-devtools/binutils/binutils.inc | 10 +++++----- meta/recipes-devtools/gcc/gcc-package-target.inc | 10 +++++----- meta/recipes-extended/bash/bash.inc | 2 +- meta/recipes-extended/sysstat/sysstat.inc | 4 +--- meta/recipes-extended/sysstat/sysstat_9.1.5.bb | 2 +- 5 files changed, 13 insertions(+), 15 deletions(-)
PATCH 1/4 gcc-package-target: Switch to TARGET_PREFIX in symlinks
When TARGET_PREFIX and TARGET_SYS didn't match up, the symlinks we made were invalid. TARGET_PREFIX is what we use when configuring so it's what we should be using here.
This is 05143e9b5d0a42e32ee0dd3c7fde482ff8d63f63 from OE.
--- meta/recipes-devtools/gcc/gcc-package-target.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-devtools/gcc/gcc-package-target.inc +5 -5
@@ -91,13 +91,13 @@ do_install () { find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f # Symlinks so we can use these trivially on the target - ln -sf ${TARGET_SYS}-g77 g77 || true - ln -sf ${TARGET_SYS}-gfortran gfortran || true - ln -sf ${TARGET_SYS}-g++ g++ - ln -sf ${TARGET_SYS}-gcc gcc + ln -sf ${TARGET_PREFIX}g77 g77 || true + ln -sf ${TARGET_PREFIX}gfortran gfortran || true + ln -sf ${TARGET_PREFIX}g++ g++ + ln -sf ${TARGET_PREFIX}gcc gcc ln -sf g77 f77 || true ln -sf gfortran f95 || true ln -sf g++ c++ ln -sf gcc cc - ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp + ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${bindir}/cpp }
Signature · 1 line
1.7.0.4
Re: [PATCH 1/4] gcc-package-target: Switch to TARGET_PREFIX in symlinks
Quoted 7 lines · Tom Rini
When
TARGET_PREFIXandTARGET_SYSdidn't match up, the symlinks we made were invalid.TARGET_PREFIXis what we use when configuring so it's what we should be using here.This is
05143e9b5d0a42e32ee0dd3c7fde482ff8d63f63from OE.Signed-off-by Tom Rini <[email protected]>
Quoted 35 lines
--- meta/recipes-devtools/gcc/gcc-package-target.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)meta/recipes-devtools/gcc/gcc-package-target.inc +5
-5@@ -91,13 +91,13 @@ do_install () { find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f # Symlinks so we can use these trivially on the target - ln -sf ${TARGET_SYS}-g77 g77 || true - ln -sf ${TARGET_SYS}-gfortran gfortran || true - ln -sf ${TARGET_SYS}-g++ g++ - ln -sf ${TARGET_SYS}-gcc gcc + ln -sf ${TARGET_PREFIX}g77 g77 || true + ln -sf ${TARGET_PREFIX}gfortran gfortran || true + ln -sf ${TARGET_PREFIX}g++ g++ + ln -sf ${TARGET_PREFIX}gcc gcc ln -sf g77 f77 || true ln -sf gfortran f95 || true ln -sf g++ c++ ln -sf gcc cc - ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp + ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${bindir}/cpp }Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
-Khem
PATCH 2/4 binutils.inc: Switch to TARGET_PREFIX not TARGET_SYS
In reply to Tom RiniWhen TARGET_PREFIX and TARGET_SYS didn't match up, the symlinks and update-alternatives weren't working. TARGET_PREFIX is what we use when configuring so it's what we should be using here.
This is 79b497edc0ce5d54db564818e59b690d3391d6ce from OE.
--- meta/recipes-devtools/binutils/binutils.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-devtools/binutils/binutils.inc +5 -5
@@ -110,7 +110,7 @@ do_install () { # Symlinks for ease of running these on the native target for p in ${TARGET_SYS}-* ; do - ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,` + ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,` done rm ${D}${bindir}/ar ${D}${bindir}/strings
@@ -139,11 +139,11 @@ do_install_virtclass-native () { } pkg_postinst_${PN}-symlinks () { - update-alternatives --install ${bindir}/ar ar ${TARGET_SYS}-ar 100 - update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100 + update-alternatives --install ${bindir}/ar ar ${TARGET_PREFIX}ar 100 + update-alternatives --install ${bindir}/strings strings ${TARGET_PREFIX}strings 100 } pkg_prerm_${PN}-symlinks () { - update-alternatives --remove ar ${TARGET_SYS}-ar - update-alternatives --remove strings ${TARGET_SYS}-strings + update-alternatives --remove ar ${TARGET_PREFIX}ar + update-alternatives --remove strings ${TARGET_PREFIX}strings }
Signature · 1 line
1.7.0.4
Re: [PATCH 2/4] binutils.inc: Switch to TARGET_PREFIX not TARGET_SYS
Quoted 7 lines · Tom Rini
When
TARGET_PREFIXandTARGET_SYSdidn't match up, the symlinks and update-alternatives weren't working.TARGET_PREFIXis what we use when configuring so it's what we should be using here.This is
79b497edc0ce5d54db564818e59b690d3391d6cefrom OE.Signed-off-by Tom Rini <[email protected]>
Quoted 41 lines
--- meta/recipes-devtools/binutils/binutils.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)meta/recipes-devtools/binutils/binutils.inc +5
-5@@ -110,7 +110,7 @@ do_install () { # Symlinks for ease of running these on the native target for p in ${TARGET_SYS}-* ; do - ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,` + ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,` done rm ${D}${bindir}/ar ${D}${bindir}/strings@@ -139,11 +139,11 @@ do_install_virtclass-native () { } pkg_postinst_${PN}-symlinks () { - update-alternatives --install ${bindir}/ar ar ${TARGET_SYS}-ar 100 - update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100 + update-alternatives --install ${bindir}/ar ar ${TARGET_PREFIX}ar 100 + update-alternatives --install ${bindir}/strings strings ${TARGET_PREFIX}strings 100 } pkg_prerm_${PN}-symlinks () { - update-alternatives --remove ar ${TARGET_SYS}-ar - update-alternatives --remove strings ${TARGET_SYS}-strings + update-alternatives --remove ar ${TARGET_PREFIX}ar + update-alternatives --remove strings ${TARGET_PREFIX}strings }Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
-Khem
PATCH 3/4 sysstat.inc: Switch to inherit gettext
In reply to Tom RiniThis needs to use both virtual/libnl as well as gettext-native in order to build. So we switch to using inherit gettext.
This is 4a022cf3fe3e39aab478bfc13332d358ed80348c from OE where it was tested with qemuarm+angstrom-2010.x+eglibc and qemuarm+minimal-uclibc.
--- meta/recipes-extended/sysstat/sysstat.inc | 4 +--- meta/recipes-extended/sysstat/sysstat_9.1.5.bb | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-)
meta/recipes-extended/sysstat/sysstat.inc +1 -3
@@ -4,12 +4,10 @@ HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/" LICENSE = "GPLv2+" SECTION = "console/utils" -DEPENDS = "virtual/libintl" - SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \ file://99_sysstat" -inherit autotools +inherit autotools gettext do_install() { autotools_do_install
meta/recipes-extended/sysstat/sysstat_9.1.5.bb +1 -1
@@ -2,7 +2,7 @@ require sysstat.inc LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" -PR = "r0" +PR = "r1"
Signature · 1 line
1.7.0.4
PATCH 4/4 bash.inc: Add bison-native to DEPENDS
In reply to Tom RiniThis is f0652d96ff5c3b08b8e4c4972f7fb0296df6d898 from OE.
--- meta/recipes-extended/bash/bash.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/bash/bash.inc +1 -1
@@ -5,7 +5,7 @@ SECTION = "base/shell" # GPLv2+ (< 4.0), GPLv3+ (>= 4.0) LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "ncurses" +DEPENDS = "ncurses bison-native" inherit autotools gettext
Signature · 1 line
1.7.0.4
Quoted 29 lines · Tom Rini
The following series brings in a few fixups I pushed to openembedded today. In short, in gcc/binutils we were referencing
TARGET_SYSin places where we had told configure to mangle things based onTARGET_PREFIXand in the cases where they don't match, it wasn't working. I had also just run into some missing DEPENDS cases so they are included in this branch as well.Pull URL:
git://git.openembedded.org/openembedded-core-contrib
Branch: trini/misc-sync-up
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=trini/misc-sync-upThanks,
Tom Rini<[email protected]>
---Tom Rini (4):
gcc-package-target: Switch toTARGET_PREFIXin symlinks binutils.inc: Switch toTARGET_PREFIXnotTARGET_SYSsysstat.inc: Switch to inherit gettext bash.inc: Add bison-native to DEPENDSmeta/recipes-devtools/binutils/binutils.inc | 10 +++++----- meta/recipes-devtools/gcc/gcc-package-target.inc | 10 +++++----- meta/recipes-extended/bash/bash.inc | 2 +- meta/recipes-extended/sysstat/sysstat.inc | 4 +--- meta/recipes-extended/sysstat/sysstat_9.1.5.bb | 2 +- 5 files changed, 13 insertions(+), 15 deletions(-)
Quoted 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Pulled into oe-core
Thanks
Sau!