diff mbox

e1000e: fix building without CONFIG_VMXNET3_PCI

Message ID 1468377748-4661-1-git-send-email-jasowang@redhat.com
State New
Headers show

Commit Message

Jason Wang July 13, 2016, 2:42 a.m. UTC
e1000e needs net_tx_pkt.o and net_rx_pkt.o too.

Cc: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Cc: Leonid Bloch <leonid.bloch@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 hw/net/Makefile.objs | 1 +
 1 file changed, 1 insertion(+)

Comments

Jason Wang July 18, 2016, 5:42 a.m. UTC | #1
On 2016年07月13日 10:42, Jason Wang wrote:
> e1000e needs net_tx_pkt.o and net_rx_pkt.o too.
>
> Cc: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
> Cc: Leonid Bloch <leonid.bloch@ravellosystems.com>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
>   hw/net/Makefile.objs | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/hw/net/Makefile.objs b/hw/net/Makefile.objs
> index fe61e9f..610ed3e 100644
> --- a/hw/net/Makefile.objs
> +++ b/hw/net/Makefile.objs
> @@ -7,6 +7,7 @@ common-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o
>   common-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o
>   common-obj-$(CONFIG_PCNET_COMMON) += pcnet.o
>   common-obj-$(CONFIG_E1000_PCI) += e1000.o e1000x_common.o
> +common-obj-$(CONFIG_E1000E_PCI) += net_tx_pkt.o net_rx_pkt.o
>   common-obj-$(CONFIG_E1000E_PCI) += e1000e.o e1000e_core.o e1000x_common.o
>   common-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o
>   common-obj-$(CONFIG_VMXNET3_PCI) += net_tx_pkt.o net_rx_pkt.o

Applied, thanks.
diff mbox

Patch

diff --git a/hw/net/Makefile.objs b/hw/net/Makefile.objs
index fe61e9f..610ed3e 100644
--- a/hw/net/Makefile.objs
+++ b/hw/net/Makefile.objs
@@ -7,6 +7,7 @@  common-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o
 common-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o
 common-obj-$(CONFIG_PCNET_COMMON) += pcnet.o
 common-obj-$(CONFIG_E1000_PCI) += e1000.o e1000x_common.o
+common-obj-$(CONFIG_E1000E_PCI) += net_tx_pkt.o net_rx_pkt.o
 common-obj-$(CONFIG_E1000E_PCI) += e1000e.o e1000e_core.o e1000x_common.o
 common-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o
 common-obj-$(CONFIG_VMXNET3_PCI) += net_tx_pkt.o net_rx_pkt.o