Selaa lähdekoodia

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>
Paolo Bonzini 5 vuotta sitten
vanhempi
commit
03a7a1961f
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      Makefile.objs
  2. 1 1
      accel/Makefile.objs

+ 1 - 0
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/

+ 1 - 1
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/