drivers/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 02 Dec 2005 11:37:40 +0000
branchkernel2.6
changeset 25 7d124bfba3ce
parent 22 e8c2cd004e0b
child 27 d75ef6b46e33
permissions -rw-r--r--
IF's im rtl8139too-Treiber vereinfacht und kein Polling mehr.
#----------------------------------------------------------------
#
#  Makefile
#
#  IgH EtherCAT-Treiber
#
#  $Id$
#
#----------------------------------------------------------------

ifneq ($(KERNELRELEASE),)

#----------------------------------------------------------------
# Kbuild-Abschnitt

obj-m := 8139too-ecat.o

8139too-ecat-objs := 8139too.o ec_device.o ec_master.o \
					ec_slave.o ec_command.o ec_types.o

#----------------------------------------------------------------

else

#----------------------------------------------------------------
# Default-Abschnitt

CONFIG_FILE = ../ethercat.conf
PWD = $(shell pwd)

include $(CONFIG_FILE) # Für KERNELDIR

default:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules

clean:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean

#----------------------------------------------------------------

endif