Compile most PCI network cards only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/Makefile.objs b/Makefile.objs
index dc7b445..ca4ee39 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -150,6 +150,8 @@
# PCI network cards
hw-obj-y += ne2000.o
+hw-obj-y += eepro100.o
+hw-obj-y += pcnet.o
hw-obj-$(CONFIG_SMC91C111) += smc91c111.o
hw-obj-$(CONFIG_LAN9118) += lan9118.o
diff --git a/Makefile.target b/Makefile.target
index 32a12a1..9d55924 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -191,8 +191,6 @@
obj-$(CONFIG_USB_OHCI) += usb-ohci.o
# PCI network cards
-obj-y += eepro100.o
-obj-y += pcnet.o
obj-y += rtl8139.o
obj-y += e1000.o