summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/Makefile
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-25 16:47:11 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-25 16:47:11 +0000
commit7fa43ebaa8624a3eb5154da2d809d59967aa8101 (patch)
tree04a0ad2bb06646651210673e87a3201ce9dec7a1 /target/linux/ar71xx/files/drivers/net/ag71xx/Makefile
parent06eb974a9e7fdcb467868dc15337e44ccca4262a (diff)
[ar71xx] ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14655 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/Makefile')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/Makefile b/target/linux/ar71xx/files/drivers/net/ag71xx/Makefile
index 37c98d22a..aa1798d19 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/Makefile
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/Makefile
@@ -2,6 +2,12 @@
# Makefile for the Atheros AR71xx built-in ethernet macs
#
+ag71xx-y += ag71xx_main.o
+ag71xx-y += ag71xx_ethtool.o
+ag71xx-y += ag71xx_phy.o
+ag71xx-y += ag71xx_mdio.o
+
+ag71xx-$(CONFIG_AG71XX_AR8216_SUPPORT) += ag71xx_ar8216.o
+
obj-$(CONFIG_AG71XX) += ag71xx.o
-ag71xx-objs := ag71xx_main.o ag71xx_ethtool.o ag71xx_phy.o ag71xx_mdio.o