| 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-mod.eclass,v 1.1 2004/11/24 16:36:38 johnm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.2 2004/11/25 19:47:18 johnm Exp $ |
| 4 | |
4 | |
| 5 | # This eclass provides functions for compiling external kernel modules |
5 | # This eclass provides functions for compiling external kernel modules |
| 6 | # from source. |
6 | # from source. |
| 7 | |
7 | |
| 8 | inherit linux-info |
8 | inherit linux-info |
| … | |
… | |
| 14 | SLOT=0 |
14 | SLOT=0 |
| 15 | DEPEND="virtual/linux-sources |
15 | DEPEND="virtual/linux-sources |
| 16 | sys-apps/sed" |
16 | sys-apps/sed" |
| 17 | |
17 | |
| 18 | |
18 | |
| 19 | |
|
|
| 20 | |
|
|
| 21 | # This eclass is designed to help ease the installation of external kernel |
19 | # This eclass is designed to help ease the installation of external kernel |
| 22 | # modules into the kernel tree. |
20 | # modules into the kernel tree. |
| 23 | |
|
|
| 24 | |
21 | |
| 25 | # eclass utilities |
22 | # eclass utilities |
| 26 | # ---------------------------------- |
23 | # ---------------------------------- |
| 27 | |
24 | |
| 28 | use_m() { |
25 | use_m() { |