Harry Putnam wrote: > Is this possible: > > Compile a module by itself (not during kernel compile) and insert > that module into a running kernel.
It can be done, the best example of it being done is the NVidia kernel module. Although it seems, you want to compile a module inside a kernel tree. I think it'll be lot complex. I dont have any hands on experience in this, but i suggest take a look at the Makefiles of other kernel modules available outside the kernel tree. Sorry cant give you specifics on how to do it. PS: Also ALSA-driver package are nothing but kernel modules, you may want to check thier makefiles as well. -- Linux Kernel : 2.6.15-gentoo-r7 GCC version : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) Processor : AMD Athlon XP 2600+ RAM : 1 GB DDR 333 SDRAM CFLAGS USED : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer -fno-crossjumping -falign-functions=16 -falign-loops=16 -falign-jumps=16 -fno-align-labels -mfpmath=387,sse -maccumulate-outgoing-args CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden
pgpxTf3P0LePY.pgp
Description: PGP signature