1 |
On Sat, Dec 04, 2004 at 11:54:28PM +0000, Daniel Drake wrote: |
2 |
> + einfo "This package requires Linux sources." |
3 |
> + if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then |
4 |
> + einfo "Please make sure that ${KERNEL_DIR} points at your running kernel, " |
5 |
> + einfo "(or the kernel you wish to build against)." |
6 |
> + einfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location" |
7 |
> + else |
8 |
> + einfo "Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against." |
9 |
> + fi |
10 |
> + die "Cannot locate Linux sources at ${KERNEL_DIR}" |
11 |
|
12 |
Why not use /lib/modules/`uname -r`/source - it works for 2.6 at least. |
13 |
It could be your first try - second /usr/src/linux/... |
14 |
|
15 |
Sam |
16 |
|
17 |
-- |
18 |
gentoo-kernel@g.o mailing list |