diff -r 0d4119024f55 -r 9d7453c16ade examples/rtai/Makefile --- a/examples/rtai/Makefile Mon May 29 09:08:56 2006 +0000 +++ b/examples/rtai/Makefile Mon May 29 09:54:18 2006 +0000 @@ -58,7 +58,7 @@ ifneq ($(wildcard kernel.conf),) include kernel.conf else -KERNELDIR = /usr/src/linux +KERNELDIR = /lib/modules/`uname -r`/build endif modules: