| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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.38 2006/01/20 14:27:47 dsd Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.39 2006/02/08 12:57:52 brix 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 |
| … | |
… | |
| 51 | |
51 | |
| 52 | # And to ensure all the weirdness with crosscompile |
52 | # And to ensure all the weirdness with crosscompile |
| 53 | inherit toolchain-funcs versionator |
53 | inherit toolchain-funcs versionator |
| 54 | |
54 | |
| 55 | EXPORT_FUNCTIONS pkg_setup |
55 | EXPORT_FUNCTIONS pkg_setup |
|
|
56 | |
|
|
57 | DEPEND="virtual/linux-sources" |
|
|
58 | RDEPEND="" |
| 56 | |
59 | |
| 57 | # Overwritable environment Var's |
60 | # Overwritable environment Var's |
| 58 | # --------------------------------------- |
61 | # --------------------------------------- |
| 59 | KERNEL_DIR="${KERNEL_DIR:-${ROOT}usr/src/linux}" |
62 | KERNEL_DIR="${KERNEL_DIR:-${ROOT}usr/src/linux}" |
| 60 | |
63 | |