Then, why not make something like that standard.
The real problem with handling modules is that there is no easy way to get
kernel options and flags needed to compile modules for a specific
kernel. Witness complicated build scripts in pcmcia, alsa and other packages.
They do all kinds of stuff to figure out the needed CFLAGS, include paths,
SMP-ness etc.
Perhaps (during make config) the kernel could create a file with things like
CFLAGS=-I/usr/src/linux -O2 -m486...
that Makefiles for externally compiled modules could include?
Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/