summaryrefslogtreecommitdiff
path: root/drivers/net/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-04-24 07:57:17 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-04-28 22:26:36 -0700
commit2ef7503a593c77a80c2a054011970227c4b62774 (patch)
treecdfe8216b34d41da37332efe6a816d5c0a281fce /drivers/net/Makefile
parent40cb90ee2b97db1f697e1b54f19a548ffc96d71b (diff)
downloadu-boot-imx-2ef7503a593c77a80c2a054011970227c4b62774.zip
u-boot-imx-2ef7503a593c77a80c2a054011970227c4b62774.tar.gz
u-boot-imx-2ef7503a593c77a80c2a054011970227c4b62774.tar.bz2
NE2000: Fix regresssion introduced by e710185aae90 on non AX88796
Move non-inlied functions into specific drivers file Set get_prom as weak Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Vlad Lungu <vlad@comsys.ro> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index d5e413b..4131aad 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -42,7 +42,10 @@ COBJS-y += lan91c96.o
COBJS-y += macb.o
COBJS-y += mcffec.o
COBJS-y += natsemi.o
-COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o
+ifeq ($(CONFIG_DRIVER_NE2000),y)
+COBJS-y += ne2000.o
+COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o
+endif
COBJS-y += netarm_eth.o
COBJS-y += netconsole.o
COBJS-y += ns7520_eth.o