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

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

Comments

Cam Macdonell - Aug. 14, 2010, 11:47 p.m.
Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca>
---
 Makefile.target |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Blue Swirl - Aug. 15, 2010, 9:47 a.m.
Thanks, applied.

On Sat, Aug 14, 2010 at 11:47 PM, Cam Macdonell <cam@cs.ualberta.ca> wrote:
> Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca>
> ---
>  Makefile.target |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> 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
> --
> 1.6.2.5
>
>
>

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