Add ET131x ethernet driver.
[people/pmueller/ipfire-2.x.git] / src / et131x / Makefile
1 KSRC ?= /lib/modules/$(shell uname -r)/build
2
3 obj-m = et131x.o
4
5 et131x-objs := et1310_eeprom.o \
6 et1310_jagcore.o \
7 et1310_mac.o \
8 et1310_phy.o \
9 et1310_pm.o \
10 et1310_rx.o \
11 et1310_tx.o \
12 et131x_config.o \
13 et131x_debug.o \
14 et131x_initpci.o \
15 et131x_isr.o \
16 et131x_netdev.o
17
18 all:
19 $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
20
21 clean:
22 rm -rf *.ko *.mod.* *.o .*.cmd .tmp_versions Module.symvers
23
24 distclean: clean
25 rm -rf cscope.* *~