Patchwork [2/2] Disable build of ivshmem on non-KVM systems

login
register
mail settings
Submitter Cam Macdonell
Date Aug. 11, 2010, 6:16 p.m.
Message ID <1281550583-11908-2-git-send-email-cam@cs.ualberta.ca>
Download mbox | patch
Permalink /patch/61496/
State New
Headers show

Comments

Cam Macdonell - Aug. 11, 2010, 6:16 p.m.
---
 Makefile.target |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile.target b/Makefile.target
index b791492..c8281e9 100644
--- a/Makefile.target
+++ b/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