MERGE branches/srable-1.0 -r426:427 -> trunk (config files)
authorFlorian Pose <fp@igh-essen.com>
Mon, 29 May 2006 12:17:17 +0000
changeset 265 fb965f033bb3
parent 264 76cba93ba122
child 266 0234b0c26c52
MERGE branches/srable-1.0 -r426:427 -> trunk (config files)
examples/mini/Makefile
examples/mini/ethercat.conf.tmpl
examples/mini/kernel.conf.tmpl
examples/rtai/Makefile
examples/rtai/kernel.conf.tmpl
--- 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:
--- a/examples/mini/ethercat.conf.tmpl	Mon May 29 07:48:33 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#------------------------------------------------------------------------------
-#
-#  EtherCAT Konfigurationsdatei Kernel 2.6
-#
-#  $Id$
-#
-#  This file is a versioned template configuration. Copy it to "ethercat.conf"
-#  (which is ignored by Subversion) and adjust it to your needs.
-#
-#------------------------------------------------------------------------------
-
-KERNELDIR = /usr/src/linux
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/mini/kernel.conf.tmpl	Mon May 29 12:17:17 2006 +0000
@@ -0,0 +1,12 @@
+#------------------------------------------------------------------------------
+#
+#  Kernel configuration file for EtherCAT mini sample
+#
+#  $Id$
+#
+#  This file is a versioned template configuration. Copy it to "kernel.conf"
+#  (which is ignored by Subversion) and adjust it to your needs.
+#
+#------------------------------------------------------------------------------
+
+KERNELDIR = /lib/modules/`uname -r`/build
--- 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:
--- a/examples/rtai/kernel.conf.tmpl	Mon May 29 07:48:33 2006 +0000
+++ b/examples/rtai/kernel.conf.tmpl	Mon May 29 12:17:17 2006 +0000
@@ -9,5 +9,4 @@
 #
 #------------------------------------------------------------------------------
 
-KERNELDIR = /usr/src/linux
-
+KERNELDIR = /lib/modules/`uname -r`/build