summaryrefslogtreecommitdiff
path: root/v4l/Makefile.sound
blob: 0f218b78bd5d89531e5417a6887dab5900f93811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# From sound/pci/Makefile

snd-bt87x-objs := bt87x.o
obj-$(CONFIG_SND_BT87X) += snd-bt87x.o

# From sound/oss/Makefile

obj-$(CONFIG_SOUND_ACI_MIXER)   += aci.o
obj-$(CONFIG_SOUND_BT878)       += btaudio.o

# From sound/i2c/other/Makefile
snd-tea575x-tuner-objs := tea575x-tuner.o
obj-$(CONFIG_SND_FM801_TEA575X) += snd-tea575x-tuner.o

KDIRA          := /lib/modules/$(KERNELRELEASE)/kernel


sound-install install-sound::
	@dir="sound/pci"; \
        files='snd-bt87x.ko'; \
        echo -e "\nInstalling $(KDIRA)/$$dir files:"; \
        install -d $(KDIRA)/$$dir; \
        for i in $$files;do if [ -e $$i ]; then echo -n "$$i "; \
	install -m 644 -c $$i $(KDIRA)/$$dir; fi; done; echo;

	@dir="sound/oss"; \
	files='aci.ko btaudio.ko'; \
        echo -e "\nInstalling $(KDIRA)/$$dir files:"; \
        install -d $(KDIRA)/$$dir; \
	for i in $$files;do if [ -e $$i ]; then echo -n "$$i "; \
	install -m 644 -c $$i $(KDIRA)/$$dir; fi; done; echo;

	@dir="sound/i2c/other"; \
	files='snd-tea575x-tuner.ko'; \
        echo -e "\nInstalling $(KDIRA)/$$dir files:"; \
        install -d $(KDIRA)/$$dir; \
	for i in $$files;do if [ -e $$i ]; then echo -n "$$i "; \
	install -m 644 -c $$i $(KDIRA)/$$dir; fi; done; echo;