Patchwork [3/3] Compile event_notifier only once

login
register
mail settings
Submitter Blue Swirl
Date April 15, 2010, 7:09 p.m.
Message ID <t2pf43fc5581004151209wb2cb0a19he3d73aba3153e49a@mail.gmail.com>
Download mbox | patch
Permalink /patch/50284/
State New
Headers show

Comments

Blue Swirl - April 15, 2010, 7:09 p.m.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 Makefile.objs   |    2 +-
 Makefile.target |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

 obj-y += rwhandler.o

Patch

diff --git a/Makefile.objs b/Makefile.objs
index c0fe5e2..c3864d0 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -104,7 +104,7 @@  common-obj-$(CONFIG_VNC_TLS) += vnc-tls.o
vnc-auth-vencrypt.o
 common-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
 common-obj-$(CONFIG_COCOA) += cocoa.o
 common-obj-$(CONFIG_IOTHREAD) += qemu-thread.o
-common-obj-y += notify.o
+common-obj-y += notify.o event_notifier.o
 common-obj-y += qemu-timer.o

 slirp-obj-y = cksum.o if.o ip_icmp.o ip_input.o ip_output.o
diff --git a/Makefile.target b/Makefile.target
index 3bd4b86..5897051 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -167,7 +167,6 @@  obj-y = arch_init.o cpus.o monitor.o machine.o
gdbstub.o balloon.o
 # need to fix this properly
 obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-serial-bus.o
 obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
-obj-y += event_notifier.o
 obj-y += vhost_net.o
 obj-$(CONFIG_VHOST_NET) += vhost.o