--- a/examples/rtai/Makefile Mon May 29 07:48:33 2006 +0000
+++ b/examples/rtai/Makefile Mon May 29 12:17:17 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: