On 3 May 2011 15:17, Alexander Graf <ag...@suse.de> wrote:
> Maybe there's some Makefile magic to only compile the stub if the file
> exists? I certainly don't know of any.

obj-$(CONFIG_NO_KVM) += kvm-stub.o
ifneq ($(wildcard $(TARGET_PATH)/kvm-arch-stub.c),)
obj-$(CONFIG_NO_KVM) += kvm-arch-stub.o
endif

? (not very heavily tested)

-- PMM

Reply via email to