summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lmc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/lmc/Makefile')
-rw-r--r--drivers/net/wan/lmc/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wan/lmc/Makefile b/drivers/net/wan/lmc/Makefile
new file mode 100644
index 000000000..f00fe4491
--- /dev/null
+++ b/drivers/net/wan/lmc/Makefile
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the Lan Media 21140 based WAN cards
+# Specifically the 1000,1200,5200,5245
+#
+
+obj-$(CONFIG_LANMEDIA) += lmc.o
+
+lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o
+
+# Like above except every packet gets echoed to KERN_DEBUG
+# in hex
+#
+# DBDEF = \
+# -DDEBUG \
+# -DLMC_PACKET_LOG
+
+ccflags-y := $(DBGDEF)