| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2012 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.91 2011/12/12 22:01:37 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.92 2012/06/26 00:06:14 robbat2 Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: linux-info.eclass |
5 | # @ECLASS: linux-info.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # kernel-misc@gentoo.org |
7 | # kernel-misc@gentoo.org |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 16 | # using additional eclasses. |
16 | # using additional eclasses. |
| 17 | # |
17 | # |
| 18 | # "kernel config" in this file means: |
18 | # "kernel config" in this file means: |
| 19 | # The .config of the currently installed sources is used as the first |
19 | # The .config of the currently installed sources is used as the first |
| 20 | # preference, with a fall-back to bundled config (/proc/config.gz) if available. |
20 | # preference, with a fall-back to bundled config (/proc/config.gz) if available. |
|
|
21 | # |
|
|
22 | # Before using any of the config-handling functions in this eclass, you must |
|
|
23 | # ensure that one of the following functions has been called (in order of |
|
|
24 | # preference), otherwise you will get bugs like #364041): |
|
|
25 | # linux-info_pkg_setup |
|
|
26 | # linux-info_get_any_version |
|
|
27 | # get_version |
|
|
28 | # get_running_version |
| 21 | |
29 | |
| 22 | # A Couple of env vars are available to effect usage of this eclass |
30 | # A Couple of env vars are available to effect usage of this eclass |
| 23 | # These are as follows: |
31 | # These are as follows: |
| 24 | |
32 | |
| 25 | # @ECLASS-VARIABLE: KERNEL_DIR |
33 | # @ECLASS-VARIABLE: KERNEL_DIR |