Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 340e01248478ba8b78a6d4d1809b1eff > files > 112

kvm-83-270.el5_11.src.rpm

From 4e9a84e163a1643f0059fcf728ef784fd3e35656 Mon Sep 17 00:00:00 2001
From: Juan Quintela <quintela@redhat.com>
Date: Tue, 21 Jul 2009 22:27:19 +0200
Subject: [PATCH 13/16] Enable configure out cards that we don't support

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <e4e5d8de8606351f8fe68b82277caf6cf3989599.1248207933.git.quintela@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Bugzilla: 512837
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Acked-by: Dor Laor <dlaor@redhat.com>
---
 qemu/Makefile.target |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/qemu/Makefile.target b/qemu/Makefile.target
index bdc989c..afc7f60 100644
--- a/qemu/Makefile.target
+++ b/qemu/Makefile.target
@@ -651,7 +651,16 @@ ifdef CONFIG_OSS
 LIBS += $(CONFIG_OSS_LIB)
 endif
 
-SOUND_HW = sb16.o es1370.o ac97.o
+SOUND_HW =
+ifdef CONFIG_SB16
+SOUND_HW += sb16.o
+endif
+ifdef CONFIG_ES1370
+SOUND_HW += es1370.o
+endif
+ifdef CONFIG_AC97
+SOUND_HW = ac97.o
+endif
 ifdef CONFIG_ADLIB
 SOUND_HW += fmopl.o adlib.o
 adlib.o fmopl.o: CFLAGS := ${CFLAGS} -DBUILD_Y8950=0
-- 
1.6.3.rc4.29.g8146