rt/Makefile
changeset 16 f04e93b8af0f
parent 10 67c739ece5d5
child 28 801dc7eabf51
--- a/rt/Makefile	Fri Nov 11 13:52:12 2005 +0000
+++ b/rt/Makefile	Fri Nov 18 09:35:04 2005 +0000
@@ -8,14 +8,14 @@
 #
 #----------------------------------------------------------------
 
-KERNEL_DIRS_FILE = ../kerneldirs.mk
+CONFIG_FILE = ../ethercat.conf
 
-ifeq ($(KERNEL_DIRS_FILE),$(wildcard $(KERNEL_DIRS_FILE)))
-include $(KERNEL_DIRS_FILE)
+ifeq ($(CONFIG_FILE),$(wildcard $(CONFIG_FILE)))
+include $(CONFIG_FILE)
 else
 KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5
 RTAIDIR   = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13
-RTLIBDIR = rt_lib
+RTLIBDIR  = rt_lib
 endif
 
 CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE -DSERIALDEBUG -DMSR_NO_PROC -I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include -I$(RTLIBDIR)/msr-include