On 21/12/2016 15:15, Eduardo Habkost wrote: >> >> ifeq ($(CONFIG_SOFTMMU),y) >> obj-$(CONFIG_KVM) += kvm-all.c >> obj-$(call lnot, $(CONFIG_KVM)) += kvm-stub.c >> endif >> >> similar to what is done already in Makefile.objs? > I assume you mean: > > ifeq ($(CONFIG_SOFTMMU),y) > obj-$(CONFIG_KVM) += kvm-all.c > endif > obj-$(call lnot, $(CONFIG_KVM)) += kvm-stub.c > > Nothing really wrong, we can do that to avoid using libqemustub. > I was just trying to avoid a more complex rule involving > ifeq+lnot, and to avoid including accel/ in obj-y on the > non-softmmu case. TCG would need accel/ in obj-y in the non-softmmu case, for things such as cpu-exec.c and translate-all.c. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html