diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-19 05:22:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-19 05:22:21 +0000 |
commit | 66ba7a05aff8de3d673f2d4f025ccd085f573d44 (patch) | |
tree | 723717b7c771587edd0ee7c7c24913b80cbc5efd /sys-libs | |
parent | filter -fstack-protector again for bug #88899 - Upstream says it's a gcc-3 is... (diff) | |
download | historical-66ba7a05aff8de3d673f2d4f025ccd085f573d44.tar.gz historical-66ba7a05aff8de3d673f2d4f025ccd085f573d44.tar.bz2 historical-66ba7a05aff8de3d673f2d4f025ccd085f573d44.zip |
try to autoguess UCLIBC_CPU based upon CTARGET
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/uclibc/Manifest | 8 | ||||
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.28.ebuild | 9 |
2 files changed, 11 insertions, 6 deletions
diff --git a/sys-libs/uclibc/Manifest b/sys-libs/uclibc/Manifest index 5a92535bf1c9..53474b52d59d 100644 --- a/sys-libs/uclibc/Manifest +++ b/sys-libs/uclibc/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c9acd7b562d85cddff95c2f360c2930d uclibc-0.9.28.ebuild 11110 +MD5 b3caa3ed321572deff044f4c54c601be uclibc-0.9.28.ebuild 11326 MD5 e96b4dfc373a1cdf7735aeae52c4cf7e metadata.xml 999 MD5 edfd2313b43acb801cb0b72ddd6d36f8 uclibc-0.9.27.ebuild 10387 MD5 7f032d39812e09cd462f33f448a084d4 ChangeLog 9398 @@ -13,7 +13,7 @@ MD5 684def72ebc0da73cb8b6d1c53e7e8fb files/getent 1112 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDBV6FgIKl8Uu19MoRAu3OAJ4nLPLMe0zkuvgCqzgdPUXkrKvkHQCePHdr -KDi4i5SWO3oBe6cwjL0szNM= -=xyr0 +iD8DBQFDBWysgIKl8Uu19MoRAu+NAJ9BRmJWyW+slY61twosyqexSzg0CgCcDL33 +IwEPAbKj4JCSo6O3XFnTono= +=5xJ3 -----END PGP SIGNATURE----- diff --git a/sys-libs/uclibc/uclibc-0.9.28.ebuild b/sys-libs/uclibc/uclibc-0.9.28.ebuild index ec52213f9011..e337527f85ba 100644 --- a/sys-libs/uclibc/uclibc-0.9.28.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.28.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.2 2005/08/19 04:21:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.3 2005/08/19 05:22:21 vapier Exp $ #ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc" #inherit subversion @@ -103,7 +103,12 @@ check_cpu_opts() { ewarn "Available CPU options:" UCLIBC_CPU=$(eval echo ${!cpu_var}) echo ${UCLIBC_CPU} - export UCLIBC_CPU=${UCLIBC_CPU%% *} + case ${CTARGET} in + mips[1234]*) export UCLIBC_CPU="MIPS_ISA_${CTARGET:4:1}";; + sh[2345]*) export UCLIBC_CPU="SH${CTARGET:2:1}";; + i[456]86*) export UCLIBC_CPU="${CTARGET:1:1}86";; + *) export UCLIBC_CPU=${UCLIBC_CPU%% *};; + esac else local cpu found=0 for cpu in $(eval echo ${!cpu_var}) ; do |