I really like the idea someone posted recently (sorry, don't recall who
or where) of a vendor just doing
make -C /usr/src/linux modules SUBDIRS=`pwd`
This way you get all kinds of things right automatically, including the
user's favorite compiler settings, right header files, MODVERSIONS,
SMP, other relevant .config settings, etc.
You just have to ensure that Makefile, Rules.make and .config are
installed -- presumably these should be in the distribution's kernel
headers package. Also presumably, the user astute enough to compile
his own kernel will make the right /usr/src/linux link.
Peter
-
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/