/[gentoo-x86]/eclass/linux-info.eclass
Gentoo

Diff of /eclass/linux-info.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.21 2005/01/31 20:03:47 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.22 2005/02/01 09:13:47 johnm Exp $
4# 4#
5# Description: This eclass is used as a central eclass for accessing kernel 5# Description: This eclass is used as a central eclass for accessing kernel
6# related information for sources already installed. 6# related information for sources already installed.
7# It is vital for linux-mod to function correctly, and is split 7# It is vital for linux-mod to function correctly, and is split
8# out so that any ebuild behaviour "templates" are abstracted out 8# out so that any ebuild behaviour "templates" are abstracted out
67 ppc64) BUILD_FIXES="${BUILD_FIXES} TOUT=${T}/.tmp_gas_check";; 67 ppc64) BUILD_FIXES="${BUILD_FIXES} TOUT=${T}/.tmp_gas_check";;
68esac 68esac
69 69
70# These are legacy wrappers for toolchain-funcs. 70# These are legacy wrappers for toolchain-funcs.
71# I dont like them here, but oh well. 71# I dont like them here, but oh well.
72set_arch_to_kernel() { $(tc-arch-kernel); } 72set_arch_to_kernel() { export ARCH="$(tc-arch-kernel)"; }
73set_arch_to_portage() { $(tc-arch); } 73set_arch_to_portage() { export ARCH="$(tc-arch)"; }
74 74
75# qeinfo "Message" 75# qeinfo "Message"
76# ------------------- 76# -------------------
77# qeinfo is a quiet einfo call when EBUILD_PHASE 77# qeinfo is a quiet einfo call when EBUILD_PHASE
78# should not have visible output. 78# should not have visible output.

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20