summaryrefslogtreecommitdiff
path: root/drivers/net/Makefile
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-09-30 15:02:53 +0900
committerBen Warren <biggerbadderben@gmail.com>2008-10-13 22:28:32 -0700
commit702c85b0e876d587c11acdbb55738ee52acd54f4 (patch)
tree7b7c737d786cacd7ab57ec0c95e6535211add08c /drivers/net/Makefile
parentb3ed233198c5ac54aa83dd51f05fcb44ee75f42b (diff)
downloadu-boot-imx-702c85b0e876d587c11acdbb55738ee52acd54f4.zip
u-boot-imx-702c85b0e876d587c11acdbb55738ee52acd54f4.tar.gz
u-boot-imx-702c85b0e876d587c11acdbb55738ee52acd54f4.tar.bz2
net: ne2000: Divided a function of NE2000 driver
get_prom function was used __attriute__ , but it is not enable. ax88796.o does not do link besides ne2000.o. When ld is carried out, get_prom function of ax88796.c is ignored. This problem is a thing by specifications of ld. I checked and test this patch on SuperH and MIPS. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index a084000..a4ea3a2 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -44,10 +44,8 @@ COBJS-$(CONFIG_MCFFEC) += mcffec.o
COBJS-$(CONFIG_MPC5xxx_FEC) += mpc5xxx_fec.o
COBJS-$(CONFIG_MPC512x_FEC) += mpc512x_fec.o
COBJS-$(CONFIG_NATSEMI) += natsemi.o
-ifeq ($(CONFIG_DRIVER_NE2000),y)
-COBJS-y += ne2000.o
-COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o
-endif
+COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o ne2000_base.o
+COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o
COBJS-$(CONFIG_DRIVER_NETARMETH) += netarm_eth.o
COBJS-$(CONFIG_NETCONSOLE) += netconsole.o
COBJS-$(CONFIG_DRIVER_NS7520_ETHERNET) += ns7520_eth.o