qemu-devel@nongnu.org
[Top] [All Lists]

Re: [Qemu-devel] [PATCH 01/15] Only compile-in selected audio drivers

Subject: Re: [Qemu-devel] [PATCH 01/15] Only compile-in selected audio drivers
From: malc
Date: Tue, 23 Jun 2009 19:52:25 +0400 MSD
On Tue, 23 Jun 2009, quintela@xxxxxxxxxx wrote:

> From: Juan Quintela <quintela@xxxxxxxxxx>
> 
> 
> Signed-off-by: Juan Quintela <quintela@xxxxxxxxxx>
> ---
>  Makefile.target |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile.target b/Makefile.target
> index a0f24fa..60326fe 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -523,7 +523,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
> 

Fine by me, while you are at it pcspk can also be made conditional.

-- 
mailto:av1474@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>