aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-20 16:19:32 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-20 16:19:32 +0000
commitbd390e6425ed100efdde43a55273c36aa2488737 (patch)
treebf908a56216b69b7bfce41ad2c8d2c5abaf78aaf
parentafcea8cbdea8180b42093377b2c700d1b7f20b7c (diff)
Compile ne2000 only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--Makefile.hw3
-rw-r--r--Makefile.target1
-rw-r--r--hw/ne2000.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 648906bed2..830902bb68 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -24,6 +24,9 @@ obj-y += wdt_i6300esb.o
obj-y += msix.o
+# PCI network cards
+obj-y += ne2000.o
+
# SCSI layer
obj-y += lsi53c895a.o esp.o
diff --git a/Makefile.target b/Makefile.target
index 3b85ac9359..e5db55bc07 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -185,7 +185,6 @@ obj-y += usb-ohci.o
# PCI network cards
obj-y += eepro100.o
-obj-y += ne2000.o
obj-y += pcnet.o
obj-y += rtl8139.o
obj-y += e1000.o
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 82531d04ec..87f1e59d85 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -23,7 +23,6 @@
*/
#include "hw.h"
#include "pci.h"
-#include "pc.h"
#include "net.h"
#include "ne2000.h"