aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_emac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ibm_emac/Makefile')
-rw-r--r--drivers/net/ibm_emac/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/ibm_emac/Makefile b/drivers/net/ibm_emac/Makefile
new file mode 100644
index 000000000000..7f583a333c24
--- /dev/null
+++ b/drivers/net/ibm_emac/Makefile
@@ -0,0 +1,12 @@
+#
+# Makefile for the IBM PPC4xx EMAC controllers
+#
+
+obj-$(CONFIG_IBM_EMAC) += ibm_emac.o
+
+ibm_emac-objs := ibm_emac_mal.o ibm_emac_core.o ibm_emac_phy.o
+
+# Only need this if you want to see additional debug messages
+ifeq ($(CONFIG_IBM_EMAC_ERRMSG), y)
+ibm_emac-objs += ibm_emac_debug.o
+endif