]> Git Repo - qemu.git/commitdiff
Makefile: Move bootdevice.o to common-obj-y
authorThomas Huth <[email protected]>
Mon, 26 Jun 2017 05:22:57 +0000 (07:22 +0200)
committerPaolo Bonzini <[email protected]>
Tue, 4 Jul 2017 12:39:27 +0000 (14:39 +0200)
There does not seem to be any target specific code in this file, so
we can put it into "common-obj" instead of "obj" to compile it only
once for all targets.

Signed-off-by: Thomas Huth <[email protected]>
Message-Id: <1498454578[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Makefile.objs
Makefile.target
bootdevice.c

index b2e6322ef0deb88e82efa63d58579651e69bf74d..756644c77bc7dbf1f1f836571b79846e64e784e0 100644 (file)
@@ -40,7 +40,7 @@ io-obj-y = io/
 
 ifeq ($(CONFIG_SOFTMMU),y)
 common-obj-y = blockdev.o blockdev-nbd.o block/
-common-obj-y += iothread.o
+common-obj-y += bootdevice.o iothread.o
 common-obj-y += net/
 common-obj-y += qdev-monitor.o device-hotplug.o
 common-obj-$(CONFIG_WIN32) += os-win32.o
index 0066579090c389a26ff2792ff47393ee01a6b44d..ffa7a8f9a3c938041c12b97290a49d57ea4fc3f6 100644 (file)
@@ -137,7 +137,7 @@ endif #CONFIG_BSD_USER
 # System emulator target
 ifdef CONFIG_SOFTMMU
 obj-y += arch_init.o cpus.o monitor.o gdbstub.o balloon.o ioport.o numa.o
-obj-y += qtest.o bootdevice.o
+obj-y += qtest.o
 obj-y += hw/
 obj-y += memory.o
 obj-y += memory_mapping.o
index 33e3029e40f4017ea6c548fd0d119cc89e497b5e..114100911492c6fa15a64ab206d1de3eb885fcdc 100644 (file)
@@ -27,7 +27,7 @@
 #include "sysemu/sysemu.h"
 #include "qapi/visitor.h"
 #include "qemu/error-report.h"
-#include "hw/hw.h"
+#include "sysemu/reset.h"
 #include "hw/qdev-core.h"
 
 typedef struct FWBootEntry FWBootEntry;
This page took 0.026241 seconds and 4 git commands to generate.