Path to the kernel source
Path to the kernel source
Posted Feb 6, 2003 14:44 UTC (Thu) by corbet (editor, #1)In reply to: Driver porting: compiling external modules by rfunk
Parent article: Driver porting: compiling external modules
Actually, /usr/src/linux is pretty much deprecated by the Prime Penguin himself; you're supposed to keep your kernel sources somewhere else. I got lazy and used it in the example, mostly because it's shorter to type than the /lib/modules path. The latter is the better way to go, however, especially in scripts or makefiles - it "automatically" points to the right source tree, unless you move your trees around.
