From b6271b484c94d31c04fa14f10e798f0f012afc60 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 25 Jun 2009 00:08:12 +0200 Subject: Substitute ifdef CONFIG_FOO by sound-obj- Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- Makefile.target | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index 20f52c8..cd7bf35 100644 --- a/Makefile.target +++ b/Makefile.target @@ -515,17 +515,17 @@ ifdef CONFIG_OSS LIBS += $(CONFIG_OSS_LIB) endif -sound-obj-y = sb16.o es1370.o ac97.o +sound-obj-y = +sound-obj-$(CONFIG_SB16) += sb16.o +sound-obj-$(CONFIG_ES1370) += es1370.o +sound-obj-$(CONFIG_AC97) += ac97.o +sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o +sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o +sound-obj-$(CONFIG_CS4321A) += cs4231a.o + ifdef CONFIG_ADLIB -sound-obj-y += fmopl.o adlib.o adlib.o fmopl.o: CFLAGS := ${CFLAGS} -DBUILD_Y8950=0 endif -ifdef CONFIG_GUS -sound-obj-y += gus.o gusemu_hal.o gusemu_mixer.o -endif -ifdef CONFIG_CS4231A -sound-obj-y += cs4231a.o -endif ifdef CONFIG_VNC_TLS CPPFLAGS += $(CONFIG_VNC_TLS_CFLAGS) -- cgit v1.1