CFLAGS += -I/usr/src/linux-2.2.1/include
That's how you should do it anyway. I usually have 4 different kernels
in /usr/src for 8 different machines.
If a module or any kernel dependant program thinks it can use
<linux/foo.h> just like that and get the includes of the currently
running kernel it's just plain br0ken.
Mike,
-- Indifference will certainly be the downfall of mankind, but who cares?- 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/