examples/rtai/Makefile
changeset 265 fb965f033bb3
parent 246 0bf7c769de06
child 267 88177083f137
--- 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: