瀏覽代碼

Disable build of ivshmem on non-KVM systems

Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Cam Macdonell 15 年之前
父節點
當前提交
3dcbf8f9ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile.target

+ 1 - 1
Makefile.target

@@ -191,7 +191,7 @@ obj-y += rtl8139.o
 obj-y += e1000.o
 
 # Inter-VM PCI shared memory
-obj-y += ivshmem.o
+obj-$(CONFIG_KVM) += ivshmem.o
 
 # Hardware support
 obj-i386-y += vga.o