diff options
author | Paolo Bonzini | 2019-11-14 12:06:52 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-12-17 19:32:25 +0100 |
commit | 03a7a1961f0ace505dc62d38be84ce3de6c9e92e (patch) | |
tree | 993eafcc6ff7217f20685d1768b57435c55f5842 | |
parent | vl: merge -accel processing into configure_accelerators (diff) | |
download | qemu-03a7a1961f0ace505dc62d38be84ce3de6c9e92e.tar.gz qemu-03a7a1961f0ace505dc62d38be84ce3de6c9e92e.tar.xz qemu-03a7a1961f0ace505dc62d38be84ce3de6c9e92e.zip |
accel: compile accel/accel.c just once
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 <pbonzini@redhat.com>
-rw-r--r-- | Makefile.objs | 1 | ||||
-rw-r--r-- | accel/Makefile.objs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.objs b/Makefile.objs index 4e4d6ddbb3..c4bc783a7d 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 8b498d39d8..17e5ac6061 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/ |