drivers/Makefile
changeset 54 7506e67dd122
parent 53 6b3b8acb71b5
child 55 059a9e712aa7
--- a/drivers/Makefile	Fri Jan 13 15:47:44 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-#------------------------------------------------------------------------------
-#
-#  Makefile
-#
-#  IgH EtherCAT-Treiber
-#
-#  $Id$
-#
-#------------------------------------------------------------------------------
-
-ifneq ($(KERNELRELEASE),)
-
-#------------------------------------------------------------------------------
-# Kbuild-Abschnitt
-
-obj-m := 8139too-ecat.o ecat-master.o
-
-8139too-ecat-objs := 8139too.o
-
-ecat-master-objs := ec_module.o ec_master.o ec_device.o ec_slave.o \
-			ec_command.o ec_types.o ec_domain.o
-
-REV = `svnversion $(src)`
-DATE = `date`
-
-EXTRA_CFLAGS = -DEC_REV="$(REV)" -DEC_USER="$(USER)" -DEC_DATE="$(DATE)"
-
-#------------------------------------------------------------------------------
-
-else
-
-#------------------------------------------------------------------------------
-# Default-Abschnitt
-
-ifneq ($(wildcard ethercat.conf),)
-include ethercat.conf
-else
-KERNELDIR = /lib/modules/`uname -r`/build
-endif
-
-modules:
-	$(MAKE) -C $(KERNELDIR) M=`pwd` modules
-
-clean:
-	$(MAKE) -C $(KERNELDIR) M=`pwd` clean
-
-#------------------------------------------------------------------------------
-
-endif