patch-2.1.105 linux/drivers/sound/Makefile
Next file: linux/drivers/sound/dev_table.c
Previous file: linux/drivers/sound/Config.in
Back to the patch index
Back to the overall index
- Lines: 61
- Date:
Sun Jun 7 10:37:41 1998
- Orig file:
v2.1.104/linux/drivers/sound/Makefile
- Orig date:
Thu May 14 19:47:42 1998
diff -u --recursive --new-file v2.1.104/linux/drivers/sound/Makefile linux/drivers/sound/Makefile
@@ -22,8 +22,9 @@
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
-export-objs := ad1848.o mpu401.o opl3.o sb_card.o uart401.o \
- audio_syms.o midi_syms.o sequencer_syms.o sound_syms.o
+export-objs := ad1848.o audio_syms.o midi_syms.o mpu401.o \
+ opl3.o sb_card.o sequencer_syms.o sound_core.o \
+ sound_firmware.o sound_syms.o uart401.o
@@ -44,7 +45,8 @@
else
-obj-$(CONFIG_SOUND) += sound.o
+obj-$(CONFIG_SOUND) += soundcore.o
+obj-$(CONFIG_SOUND_OSS) += sound.o
obj-$(CONFIG_SOUND_ADLIB) += adlib_card.o opl3.o
obj-$(CONFIG_SOUND_CS4232) += cs4232.o ad1848.o uart401.o
obj-$(CONFIG_SOUND_GUS) += gus.o ad1848.o
@@ -71,14 +73,16 @@
# Declare multi-part drivers.
-list-multi := sound.o gus.o pas2.o sb.o softoss2.o vidc_mod.o
+list-multi := sound.o gus.o pas2.o sb.o softoss2.o vidc_mod.o soundcore.o
sound-objs := \
- dev_table.o soundcard.o sound_firmware.o sound_syms.o \
+ dev_table.o soundcard.o sound_syms.o \
audio.o audio_syms.o dmabuf.o \
midi_syms.o midi_synth.o midibuf.o \
sequencer.o sequencer_syms.o sound_timer.o sys_timer.o
+soundcore-objs := sound_core.o sound_firmware.o
+
gus-objs := gus_card.o gus_midi.o gus_vol.o gus_wave.o ics2101.o
pas2-objs := pas2_card.o pas2_midi.o pas2_mixer.o pas2_pcm.o
sb-objs := sb_audio.o sb_card.o sb_common.o sb_midi.o sb_mixer.o
@@ -126,7 +130,8 @@
# Translate to Rules.make lists.
L_TARGET := sound.a
-MOD_LIST_NAME := SOUND_MODULES
+# This is a nice idea but needs depmod altering
+#MOD_LIST_NAME := SOUND_MODULES
L_OBJS := $(sort $(filter-out $(export-objs), $(obj-y)))
LX_OBJS := $(sort $(filter $(export-objs), $(obj-y)))
@@ -147,6 +152,9 @@
sound.o: $(sound-objs)
$(LD) -r -o $@ $(sound-objs)
+
+soundcore.o: $(soundcore-objs)
+ $(LD) -r -o $@ $(soundcore-objs)
gus.o: $(gus-objs)
$(LD) -r -o $@ $(gus-objs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov