[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/18] accel: compile accel/accel.c just once
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 06/18] accel: compile accel/accel.c just once |
Date: |
Mon, 9 Dec 2019 16:01:33 +0100 |
Now that accel/accel.c does not use CONFIG_TCG or CONFIG_KVM anymore,
it need not be compiled once for every softmmu target.
Signed-off-by: Paolo Bonzini <address@hidden>
---
Makefile.objs | 1 +
accel/Makefile.objs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.objs b/Makefile.objs
index 11ba1a3..b6fcbac 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -55,6 +55,7 @@ common-obj-$(CONFIG_POSIX) += os-posix.o
common-obj-$(CONFIG_LINUX) += fsdev/
+common-obj-y += accel/
common-obj-y += migration/
common-obj-y += audio/
diff --git a/accel/Makefile.objs b/accel/Makefile.objs
index 8b498d3..17e5ac6 100644
--- a/accel/Makefile.objs
+++ b/accel/Makefile.objs
@@ -1,4 +1,4 @@
-obj-$(CONFIG_SOFTMMU) += accel.o
+common-obj-$(CONFIG_SOFTMMU) += accel.o
obj-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_POSIX)) += qtest.o
obj-$(CONFIG_KVM) += kvm/
obj-$(CONFIG_TCG) += tcg/
--
1.8.3.1
- [PATCH v2 02/18] vl: move icount configuration earlier, (continued)
- [PATCH v2 02/18] vl: move icount configuration earlier, Paolo Bonzini, 2019/12/09
- [PATCH v2 04/18] vl: extract accelerator option processing to a separate function, Paolo Bonzini, 2019/12/09
- [PATCH v2 05/18] vl: merge -accel processing into configure_accelerators, Paolo Bonzini, 2019/12/09
- [PATCH v2 03/18] tcg: move qemu_tcg_configure to accel/tcg/tcg-all.c, Paolo Bonzini, 2019/12/09
- [PATCH v2 06/18] accel: compile accel/accel.c just once,
Paolo Bonzini <=
- [PATCH v2 09/18] vl: warn for unavailable accelerators, clarify messages, Paolo Bonzini, 2019/12/09
- [PATCH v2 11/18] qom: add object_new_with_class, Paolo Bonzini, 2019/12/09
- [PATCH v2 08/18] vl: configure accelerators from -accel options, Paolo Bonzini, 2019/12/09
- [PATCH v2 12/18] accel: pass object to accel_init_machine, Paolo Bonzini, 2019/12/09
- [PATCH v2 07/18] vl: introduce object_parse_property_opt, Paolo Bonzini, 2019/12/09
- [PATCH v2 13/18] tcg: convert "-accel threads" to a QOM property, Paolo Bonzini, 2019/12/09