[alsa-devel] [PATCH 8/8] modify Makefile and Kconfig to build this module

o-takashi at sakamocchi.jp o-takashi at sakamocchi.jp
Sat Jun 1 17:55:58 CEST 2013


From: Takashi Sakamoto <o-takashi at sakamocchi.jp>

The purpose of this file is building this module by Linux kernel's driver module
build system.

Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
 sound/firewire/Kconfig            |   16 ++++++++++++++++
 sound/firewire/Makefile           |    2 ++
 sound/firewire/fireworks/Makefile |    2 ++
 3 files changed, 20 insertions(+)
 create mode 100644 sound/firewire/fireworks/Makefile

diff --git a/sound/firewire/Kconfig b/sound/firewire/Kconfig
index ea063e1..b4cbad5 100644
--- a/sound/firewire/Kconfig
+++ b/sound/firewire/Kconfig
@@ -46,4 +46,20 @@ config SND_SCS1X
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-scs1x.
 
+config SND_FIREWORKS
+	tristate "Echo Fireworks chipset support"
+	select SND_PCM
+	select SND_RAWMIDI
+	select SND_FIREWIRE_LIB
+	help
+	  Say Y here to include support for FireWire devices based
+	  on Echo Digital Audio's Fireworks architecture:
+	  * Echo AudioFire 2/4/8/8a/Pre8/12
+	  * Echo Fireworks 8/HDMI
+	  * Gibson Goldtop/RIP
+	  * Mackie Onyx 400F/1200F
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called snd-fireworks.
+
 endif # SND_FIREWIRE
diff --git a/sound/firewire/Makefile b/sound/firewire/Makefile
index 460179d..9d9d9e8 100644
--- a/sound/firewire/Makefile
+++ b/sound/firewire/Makefile
@@ -8,3 +8,5 @@ obj-$(CONFIG_SND_FIREWIRE_LIB) += snd-firewire-lib.o
 obj-$(CONFIG_SND_FIREWIRE_SPEAKERS) += snd-firewire-speakers.o
 obj-$(CONFIG_SND_ISIGHT) += snd-isight.o
 obj-$(CONFIG_SND_SCS1X) += snd-scs1x.o
+
+obj-$(CONFIG_SND) += fireworks/
diff --git a/sound/firewire/fireworks/Makefile b/sound/firewire/fireworks/Makefile
new file mode 100644
index 0000000..3bdd77c
--- /dev/null
+++ b/sound/firewire/fireworks/Makefile
@@ -0,0 +1,2 @@
+snd-fireworks-objs := fireworks_command.o fireworks_proc.o fireworks_control.o fireworks_pcm.o fireworks_midi.o fireworks_stream.o fireworks.o
+obj-$(SND_FIREWORKS) += snd-fireworks.o
-- 
1.7.10.4



More information about the Alsa-devel mailing list