diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-01 13:16:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-01 13:16:44 +0000 |
commit | 3ac4434d042be7fac113c132e057cef4a092c23b (patch) | |
tree | a868c6d9d36a2d0bec443945202e5e953cee7bc0 /eclass/linux-info.eclass | |
parent | Stable for HPPA (bug #194039). (diff) | |
download | historical-3ac4434d042be7fac113c132e057cef4a092c23b.tar.gz historical-3ac4434d042be7fac113c132e057cef4a092c23b.tar.bz2 historical-3ac4434d042be7fac113c132e057cef4a092c23b.zip |
people have had plenty of time to transition to linux-info for set_arch_to_kernel/set_arch_to_portage ... time is up
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r-- | eclass/linux-info.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index b48d310fa477..c23e71517abd 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.50 2006/12/07 18:52:55 dsd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.51 2007/10/01 13:16:44 vapier Exp $ # # Description: This eclass is used as a central eclass for accessing kernel # related information for sources already installed. @@ -69,10 +69,14 @@ case ${ARCH} in ppc64) BUILD_FIXES="${BUILD_FIXES} TOUT=${T}/.tmp_gas_check";; esac -# These are legacy wrappers for toolchain-funcs. -# I dont like them here, but oh well. -set_arch_to_kernel() { export ARCH="$(tc-arch-kernel)"; } -set_arch_to_portage() { export ARCH="$(tc-arch)"; } +# @FUNCTION: set_arch_to_kernel +# @DESCRIPTION: +# Set the env ARCH to match what the kernel expects. +set_arch_to_kernel() { export ARCH=$(tc-arch-kernel); } +# @FUNCTION: set_arch_to_portage +# @DESCRIPTION: +# Set the env ARCH to match what portage expects. +set_arch_to_portage() { export ARCH=$(tc-arch); } # qeinfo "Message" # ------------------- |