examples/mini/Makefile
changeset 265 fb965f033bb3
parent 246 0bf7c769de06
child 267 88177083f137
--- a/examples/mini/Makefile	Mon May 29 07:48:33 2006 +0000
+++ b/examples/mini/Makefile	Mon May 29 12:17:17 2006 +0000
@@ -53,10 +53,10 @@
 #  default section
 #----------------------------------------------------------------
 
-ifneq ($(wildcard ethercat.conf),)
-include ethercat.conf
+ifneq ($(wildcard kernel.conf),)
+include kernel.conf
 else
-KERNELDIR = /usr/src/linux
+KERNELDIR := /lib/modules/`uname -r`/build
 endif
 
 modules: