diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-29 05:01:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:24 -0400 |
commit | b9dd6ffc3d6b56417a2c4c917f51dab6470166e6 (patch) | |
tree | 629111b68c1db6de82acef3f7ab486d61751235c /sound/Makefile | |
parent | e5582ca21af82929d5cd3613321ac9233c492ebc (diff) |
[PATCH] build sound/sound_firmware.c only for OSS
All sound/sound_firmware.c contains is mod_firmware_load() that is a legacy
API only used by some OSS drivers.
This patch builds it into an own sound_firmware module that is only built
depending on CONFIG_SOUND_PRIME making the kernel slightly smaller for ALSA
users.
[alan@lxorguk.ukuu.org.uk: comment fix]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/Makefile')
-rw-r--r-- | sound/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/Makefile b/sound/Makefile index 1f60797afa8a..5f6bef57e825 100644 --- a/sound/Makefile +++ b/sound/Makefile | |||
@@ -2,6 +2,7 @@ | |||
2 | # | 2 | # |
3 | 3 | ||
4 | obj-$(CONFIG_SOUND) += soundcore.o | 4 | obj-$(CONFIG_SOUND) += soundcore.o |
5 | obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o | ||
5 | obj-$(CONFIG_SOUND_PRIME) += oss/ | 6 | obj-$(CONFIG_SOUND_PRIME) += oss/ |
6 | obj-$(CONFIG_DMASOUND) += oss/ | 7 | obj-$(CONFIG_DMASOUND) += oss/ |
7 | obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ | 8 | obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ |
@@ -11,4 +12,4 @@ ifeq ($(CONFIG_SND),y) | |||
11 | obj-y += last.o | 12 | obj-y += last.o |
12 | endif | 13 | endif |
13 | 14 | ||
14 | soundcore-objs := sound_core.o sound_firmware.o | 15 | soundcore-objs := sound_core.o |