From bd390e6425ed100efdde43a55273c36aa2488737 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 20 Sep 2009 16:19:32 +0000 Subject: [PATCH] Compile ne2000 only once Signed-off-by: Blue Swirl --- Makefile.hw | 3 +++ Makefile.target | 1 - hw/ne2000.c | 1 - 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"