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"