mini/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 02 Dec 2005 11:37:40 +0000
branchkernel2.6
changeset 25 7d124bfba3ce
parent 24 d417dd9bdc2f
child 46 f2d7a73d2f32
permissions -rw-r--r--
IF's im rtl8139too-Treiber vereinfacht und kein Polling mehr.
#----------------------------------------------------------------
#
#  Makefile
#
#  Minimales EtherCAT-Modul
#
#  $Id$
#
#----------------------------------------------------------------

ifneq ($(KERNELRELEASE),)

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

obj-m := ec_mini_mod.o

ec_mini_mod-objs := ec_mini.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