drivers/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 06 Jan 2006 16:01:06 +0000
changeset 48 7e75772ea28c
parent 45 f525f7db2d90
child 50 458e704afc6e
permissions -rw-r--r--
Sinnvolle Meldung verlorener Frames, Zustand antwortender Slaves.
#------------------------------------------------------------------------------
#
#  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

modules:
	$(MAKE) -C ..

clean:
	$(MAKE) -C .. clean

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

endif