>Kai Henningsen wrote:
>> I notice just about everybody suggesting absolute paths.
>> Try relative paths or environment variables instead. This has the
>> advantage of working anywhere you damn well please.
>Relative to what? Which environment variables? Who sets these variables?
Relative to the current directory of course.
I've been propagating for this too, since it makes life so much easier
for people compiling multiple versions of the kernel.
The idea is that you tell people to untar the sources for whatever kernel
related packages at the same place they untarred the kernel sources. For
most users this will mean /usr/src (i.e. on a RedHat system).
So for the simple case:
and the pcmcia-cs and whizbang packages simply have line in Makefile saying:
For somebody who's playing around with multiple kernels, it would
look something like this:
And this will work with _no_ modifications to the sources and without
any need to set environment variables. How much easier can it get?
-- "Just how much can I get away with and still go to heaven?"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:07 EST