summaryrefslogtreecommitdiff
path: root/v4l/Makefile.sound
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile.sound')
-rw-r--r--v4l/Makefile.sound24
1 files changed, 24 insertions, 0 deletions
diff --git a/v4l/Makefile.sound b/v4l/Makefile.sound
index 157a75ec4..0f218b78b 100644
--- a/v4l/Makefile.sound
+++ b/v4l/Makefile.sound
@@ -12,3 +12,27 @@ obj-$(CONFIG_SOUND_BT878) += btaudio.o
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;