]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/atl1c/Makefile
Add Atheros/Attansic atl1c ethernet driver.
[people/pmueller/ipfire-2.x.git] / src / atl1c / Makefile
diff --git a/src/atl1c/Makefile b/src/atl1c/Makefile
new file mode 100644 (file)
index 0000000..ee84883
--- /dev/null
@@ -0,0 +1,13 @@
+KSRC ?= /lib/modules/$(shell uname -r)/build
+
+obj-m          += atl1c.o
+atl1c-objs     += atl1c_main.o atl1c_hw.o atl1c_ethtool.o
+
+all:
+       $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
+
+clean:
+       rm -rf *.ko *.mod.* *.o .*.cmd .tmp_versions Module.symvers
+
+distclean: clean
+       rm -rf cscope.* *~