|
amitshah |
99a9ef |
From 12a074387284fc530876ef709b3d344adea9b226 Mon Sep 17 00:00:00 2001
|
|
amitshah |
99a9ef |
From: Amit Shah <amit.shah@redhat.com>
|
|
amitshah |
99a9ef |
Date: Wed, 20 Jan 2010 00:36:57 +0530
|
|
amitshah |
99a9ef |
Subject: [PATCH 7/9] Move virtio-serial to Makefile.objs
|
|
amitshah |
99a9ef |
|
|
amitshah |
99a9ef |
There's nothing target-dependent in the virtio-serial code so allow it
|
|
amitshah |
99a9ef |
to be compiled just once for all the targets.
|
|
amitshah |
99a9ef |
|
|
amitshah |
99a9ef |
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
|
amitshah |
99a9ef |
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
amitshah |
99a9ef |
---
|
|
amitshah |
99a9ef |
Makefile.hw | 2 +-
|
|
amitshah |
99a9ef |
Makefile.target | 2 +-
|
|
amitshah |
99a9ef |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
amitshah |
99a9ef |
|
|
amitshah |
99a9ef |
diff --git a/Makefile.hw b/Makefile.hw
|
|
amitshah |
99a9ef |
index 6f4dbc4..de8a0c5 100644
|
|
amitshah |
99a9ef |
--- a/Makefile.hw
|
|
amitshah |
99a9ef |
+++ b/Makefile.hw
|
|
amitshah |
99a9ef |
@@ -13,7 +13,7 @@ QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
|
|
amitshah |
99a9ef |
|
|
amitshah |
99a9ef |
obj-y =
|
|
amitshah |
99a9ef |
obj-y += loader.o
|
|
amitshah |
99a9ef |
-obj-y += virtio.o
|
|
amitshah |
99a9ef |
+obj-y += virtio.o virtio-serial.o
|
|
amitshah |
99a9ef |
obj-y += fw_cfg.o
|
|
amitshah |
99a9ef |
obj-y += watchdog.o
|
|
amitshah |
99a9ef |
obj-$(CONFIG_ECC) += ecc.o
|
|
amitshah |
99a9ef |
diff --git a/Makefile.target b/Makefile.target
|
|
amitshah |
99a9ef |
index 234577c..0e4cfd1 100644
|
|
amitshah |
99a9ef |
--- a/Makefile.target
|
|
amitshah |
99a9ef |
+++ b/Makefile.target
|
|
amitshah |
99a9ef |
@@ -166,7 +166,7 @@ ifdef CONFIG_SOFTMMU
|
|
amitshah |
99a9ef |
obj-y = vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o
|
|
amitshah |
99a9ef |
# virtio has to be here due to weird dependency between PCI and virtio-net.
|
|
amitshah |
99a9ef |
# need to fix this properly
|
|
amitshah |
99a9ef |
-obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-serial.o virtio-serial-bus.o virtio-pci.o
|
|
amitshah |
99a9ef |
+obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-pci.o virtio-serial-bus.o
|
|
amitshah |
99a9ef |
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
|
|
amitshah |
99a9ef |
# MSI-X depends on kvm for interrupt injection,
|
|
amitshah |
99a9ef |
# so moved it from Makefile.hw to Makefile.target for now
|
|
amitshah |
99a9ef |
--
|
|
amitshah |
99a9ef |
1.6.2.5
|
|
amitshah |
99a9ef |
|