summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-13 05:11:16 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-13 05:11:16 +0000
commit0073cec10893541e94b1853660a185ab75703408 (patch)
tree0094b050449885ec886372c9f50a6b5b0c48e27e /sys-devel
parentNew development snapshot. (diff)
downloadhistorical-0073cec10893541e94b1853660a185ab75703408.tar.gz
historical-0073cec10893541e94b1853660a185ab75703408.tar.bz2
historical-0073cec10893541e94b1853660a185ab75703408.zip
tweak * markings in -l output for cross-compilers to match gcc-config
Package-Manager: portage-2.1_pre10-r5
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils-config/Manifest14
-rwxr-xr-xsys-devel/binutils-config/files/binutils-config-1.812
2 files changed, 16 insertions, 10 deletions
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest
index 49a7faaf5933..9e8063885c83 100644
--- a/sys-devel/binutils-config/Manifest
+++ b/sys-devel/binutils-config/Manifest
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX binutils-config-1.8 10150 RMD160 96c3ae8494447d283fc9a8071646f0ad3f9f3be5 SHA1 d822753d0dc12b940cb052bc17e190c7f146c5d7 SHA256 78f2ac60279c2f8bc8f873aa45702d5344fb0a529af662d1a480d717ab1bdf73 size 10150
-MD5 081d99f3d414a76346ce1a93dee450ff files/binutils-config-1.8 10150
-RMD160 96c3ae8494447d283fc9a8071646f0ad3f9f3be5 files/binutils-config-1.8 10150
-SHA256 78f2ac60279c2f8bc8f873aa45702d5344fb0a529af662d1a480d717ab1bdf73 files/binutils-config-1.8 10150
+AUX binutils-config-1.8 10258 RMD160 fbad5dc6fd7a86793edcd960e90e8fab20d8de31 SHA1 8e4ba4b969a60c4ff3dfc70808fdad8cf576c241 SHA256 4b39cd5ca2fce451a2abd13e03ed516db21981bb82d15fe29f6a0cb415f07a25 size 10258
+MD5 1ee464741f34882a1c46c188af729bc1 files/binutils-config-1.8 10258
+RMD160 fbad5dc6fd7a86793edcd960e90e8fab20d8de31 files/binutils-config-1.8 10258
+SHA256 4b39cd5ca2fce451a2abd13e03ed516db21981bb82d15fe29f6a0cb415f07a25 files/binutils-config-1.8 10258
AUX binutils-config.8 2989 RMD160 afb26717c9466456bbbdf6a3d6b93aeb63ff9416 SHA1 ea27aae69a152491c9e96f756b6265f68aac6849 SHA256 ffc462de3eaa865f77f00e36275a0a9b0b51782d9d4d5fcfad18583a13adf6e5 size 2989
MD5 953efbc2a688428dfb75ecfa3c2d3d43 files/binutils-config.8 2989
RMD160 afb26717c9466456bbbdf6a3d6b93aeb63ff9416 files/binutils-config.8 2989
@@ -27,7 +27,7 @@ SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEUZOA2+ySkm8kpY0RAqVbAJ946a4OMTnDH1C9GC4tU/ql2spMwQCeNYre
-ty26knIG5wgOt95x0b688aw=
-=5qh0
+iD8DBQFEZWrc2+ySkm8kpY0RAnpoAJ4hKAtfv0snHtjP8L1VZpNY7UJ7IgCgnBuu
+3vTUWC6Y1lN3zyABCG1pM8c=
+=QkDj
-----END PGP SIGNATURE-----
diff --git a/sys-devel/binutils-config/files/binutils-config-1.8 b/sys-devel/binutils-config/files/binutils-config-1.8
index 6fc5c5d58e7c..08a2d7b5f04b 100755
--- a/sys-devel/binutils-config/files/binutils-config-1.8
+++ b/sys-devel/binutils-config/files/binutils-config-1.8
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.16 2006/04/28 04:00:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.17 2006/05/13 05:11:16 vapier Exp $
# Format of /etc/env.d/binutils/:
# config-TARGET: CURRENT=version for TARGET
@@ -230,6 +230,8 @@ get_current_profile() {
list_profiles() {
local i=1
+ set_HOST
+
if [[ ${ROOT} != / ]] ; then
echo "Using binutils-config info in ${ROOT}"
fi
@@ -245,7 +247,11 @@ list_profiles() {
x=${x##*/}
if [[ -e ${ENV_D}/config-${TARGET} ]] ; then
source "${ENV_D}/config-${TARGET}"
- [[ ${VER} == ${CURRENT} ]] && x="${x} ${GOOD}*${NORMAL}"
+ if [[ ${VER} == ${CURRENT} ]] ; then
+ [[ ${TARGET} == ${HOST} ]] \
+ && x="${x} ${GOOD}*${NORMAL}" \
+ || x="${x} ${HILITE}*${NORMAL}"
+ fi
fi
echo " [${i}] ${x}"
((++i))
@@ -306,7 +312,7 @@ while [[ $# -gt 0 ]] ; do
exit 0
;;
-V|--version)
- cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.16 2006/04/28 04:00:22 vapier Exp $"
+ cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.17 2006/05/13 05:11:16 vapier Exp $"
cvsver=${cvsver##*binutils-config-}
bver=${cvsver%%,v *}
cvsver=${cvsver#* }