kernel: modules: package MT7986 audio drivers
[openwrt/openwrt.git] / package / kernel / linux / modules / sound.mk
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 SOUND_MENU:=Sound Support
9
10 # allow targets to override the soundcore stuff
11 SOUNDCORE_LOAD ?= \
12 soundcore \
13 snd \
14 snd-hwdep \
15 snd-seq-device \
16 snd-rawmidi \
17 snd-timer \
18 snd-pcm \
19 snd-mixer-oss \
20 snd-pcm-oss \
21 snd-compress
22
23 SOUNDCORE_FILES ?= \
24 $(LINUX_DIR)/sound/soundcore.ko \
25 $(LINUX_DIR)/sound/core/snd.ko \
26 $(LINUX_DIR)/sound/core/snd-hwdep.ko \
27 $(LINUX_DIR)/sound/core/snd-seq-device.ko \
28 $(LINUX_DIR)/sound/core/snd-rawmidi.ko \
29 $(LINUX_DIR)/sound/core/snd-timer.ko \
30 $(LINUX_DIR)/sound/core/snd-pcm.ko \
31 $(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \
32 $(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko \
33 $(LINUX_DIR)/sound/core/snd-compress.ko
34
35 SOUNDCORE_LOAD += \
36 $(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
37
38 SOUNDCORE_FILES += \
39 $(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
40
41 define KernelPackage/sound-core
42 SUBMENU:=$(SOUND_MENU)
43 TITLE:=Sound support
44 DEPENDS:=@AUDIO_SUPPORT +kmod-input-core
45 KCONFIG:= \
46 CONFIG_SOUND \
47 CONFIG_SND \
48 CONFIG_SND_HWDEP \
49 CONFIG_SND_RAWMIDI \
50 CONFIG_SND_TIMER \
51 CONFIG_SND_PCM \
52 CONFIG_SND_PCM_TIMER=y \
53 CONFIG_SND_SEQUENCER \
54 CONFIG_SND_VIRMIDI \
55 CONFIG_SND_SEQ_DUMMY \
56 CONFIG_SND_SEQUENCER_OSS=y \
57 CONFIG_HOSTAUDIO \
58 CONFIG_SND_PCM_OSS \
59 CONFIG_SND_MIXER_OSS \
60 CONFIG_SOUND_OSS_CORE_PRECLAIM=y \
61 CONFIG_SND_COMPRESS_OFFLOAD
62 FILES:=$(SOUNDCORE_FILES)
63 AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
64 endef
65
66 define KernelPackage/sound-core/uml
67 FILES:= \
68 $(LINUX_DIR)/sound/soundcore.ko \
69 $(LINUX_DIR)/arch/um/drivers/hostaudio.ko
70 AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
71 endef
72
73 define KernelPackage/sound-core/description
74 Kernel modules for sound support
75 endef
76
77 $(eval $(call KernelPackage,sound-core))
78
79
80 define AddDepends/sound
81 SUBMENU:=$(SOUND_MENU)
82 DEPENDS+=kmod-sound-core $(1) @!TARGET_uml
83 endef
84
85
86 define KernelPackage/ac97
87 TITLE:=ac97 controller
88 KCONFIG:=CONFIG_SND_AC97_CODEC
89 FILES:= \
90 $(LINUX_DIR)/sound/ac97_bus.ko \
91 $(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.ko
92 AUTOLOAD:=$(call AutoLoad,35,ac97_bus snd-ac97-codec)
93 $(call AddDepends/sound)
94 endef
95
96 define KernelPackage/ac97/description
97 The ac97 controller
98 endef
99
100 $(eval $(call KernelPackage,ac97))
101
102
103 define KernelPackage/sound-mpu401
104 TITLE:=MPU-401 uart driver
105 KCONFIG:=CONFIG_SND_MPU401_UART
106 FILES:= \
107 $(LINUX_DIR)/sound/drivers/mpu401/snd-mpu401-uart.ko
108 AUTOLOAD:=$(call AutoLoad,35,snd-mpu401-uart)
109 $(call AddDepends/sound)
110 endef
111
112 define KernelPackage/sound-mpu401/description
113 support for MIDI ports compatible with the Roland MPU-401
114 interface in UART mode.
115 endef
116
117 $(eval $(call KernelPackage,sound-mpu401))
118
119
120 define KernelPackage/sound-seq
121 TITLE:=Sequencer support
122 FILES:= \
123 $(LINUX_DIR)/sound/core/seq/snd-seq.ko \
124 $(LINUX_DIR)/sound/core/seq/snd-seq-midi-event.ko \
125 $(LINUX_DIR)/sound/core/seq/snd-seq-midi.ko
126 AUTOLOAD:=$(call AutoLoad,35,snd-seq snd-seq-midi-event snd-seq-midi)
127 $(call AddDepends/sound)
128 endef
129
130 define KernelPackage/sound-seq/description
131 Kernel modules for sequencer support
132 endef
133
134 $(eval $(call KernelPackage,sound-seq))
135
136
137 define KernelPackage/sound-ens1371
138 TITLE:=(Creative) Ensoniq AudioPCI 1371
139 KCONFIG:=CONFIG_SND_ENS1371
140 DEPENDS:=@PCI_SUPPORT +kmod-ac97
141 FILES:=$(LINUX_DIR)/sound/pci/snd-ens1371.ko
142 AUTOLOAD:=$(call AutoLoad,36,snd-ens1371)
143 $(call AddDepends/sound)
144 endef
145
146 define KernelPackage/sound-ens1371/description
147 support for (Creative) Ensoniq AudioPCI 1371 chips
148 endef
149
150 $(eval $(call KernelPackage,sound-ens1371))
151
152
153 define KernelPackage/sound-i8x0
154 TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
155 DEPENDS:=+kmod-ac97
156 KCONFIG:=CONFIG_SND_INTEL8X0
157 FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.ko
158 AUTOLOAD:=$(call AutoLoad,36,snd-intel8x0)
159 $(call AddDepends/sound)
160 endef
161
162 define KernelPackage/sound-i8x0/description
163 support for the integrated AC97 sound device on motherboards
164 with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
165 the M5455 Audio Controller.
166 endef
167
168 $(eval $(call KernelPackage,sound-i8x0))
169
170
171 define KernelPackage/sound-via82xx
172 TITLE:=VIA 82xx AC97 Controller
173 DEPENDS:=+kmod-ac97 +kmod-sound-mpu401
174 KCONFIG:=CONFIG_SND_VIA82XX
175 FILES:=$(LINUX_DIR)/sound/pci/snd-via82xx.ko
176 AUTOLOAD:=$(call AutoLoad,36,snd-via82xx)
177 $(call AddDepends/sound)
178 endef
179
180 define KernelPackage/sound-via82xx/description
181 support for the integrated AC97 sound device on motherboards
182 with VIA chipsets.
183 endef
184
185 $(eval $(call KernelPackage,sound-via82xx))
186
187
188 define KernelPackage/sound-soc-core
189 TITLE:=SoC sound support
190 DEPENDS:=+kmod-regmap-core +kmod-ac97
191 KCONFIG:= \
192 CONFIG_SND_SOC \
193 CONFIG_SND_SOC_ADI=n \
194 CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y \
195 CONFIG_SND_SOC_ALL_CODECS=n
196 FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko
197 AUTOLOAD:=$(call AutoLoad,55,snd-soc-core)
198 $(call AddDepends/sound)
199 endef
200
201 $(eval $(call KernelPackage,sound-soc-core))
202
203
204 define KernelPackage/sound-soc-ac97
205 TITLE:=AC97 Codec support
206 KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
207 FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-ac97.ko
208 AUTOLOAD:=$(call AutoLoad,57,snd-soc-ac97)
209 DEPENDS:=+kmod-ac97 +kmod-sound-soc-core
210 $(call AddDepends/sound)
211 endef
212
213 $(eval $(call KernelPackage,sound-soc-ac97))
214
215
216 define KernelPackage/sound-soc-imx
217 TITLE:=IMX SoC support
218 KCONFIG:=\
219 CONFIG_SND_IMX_SOC \
220 CONFIG_SND_SOC_IMX_AUDMUX \
221 CONFIG_SND_SOC_FSL_SSI \
222 CONFIG_SND_SOC_IMX_PCM_DMA
223 FILES:= \
224 $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \
225 $(LINUX_DIR)/sound/soc/fsl/snd-soc-fsl-ssi.ko \
226 $(LINUX_DIR)/sound/soc/fsl/imx-pcm-dma.ko
227 AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx-audmux snd-soc-fsl-ssi snd-soc-imx-pcm)
228 DEPENDS:=@TARGET_imx +kmod-sound-soc-core
229 $(call AddDepends/sound)
230 endef
231
232 define KernelPackage/sound-soc-imx/description
233 Support for i.MX Platform sound (ssi/audmux/pcm)
234 endef
235
236 $(eval $(call KernelPackage,sound-soc-imx))
237
238
239 define KernelPackage/sound-soc-mt7986
240 TITLE:=MediaTek MT7986 Audio support
241 KCONFIG:=CONFIG_SND_SOC_MT7986 CONFIG_SND_SOC_MT7986_WM8960
242 FILES:= \
243 $(LINUX_DIR)/sound/soc/mediatek/common/snd-soc-mtk-common.ko \
244 $(LINUX_DIR)/sound/soc/mediatek/mt7986/snd-soc-mt7986-afe.ko
245 AUTOLOAD:=$(call AutoLoad,56,snd-soc-mtk-common snd-soc-mt7986-afe)
246 DEPENDS:=@TARGET_mediatek_filogic +kmod-sound-soc-core
247 $(call AddDepends/sound)
248 endef
249
250 define KernelPackage/sound-soc-mt7986/description
251 Support for audio on systems using the MediaTek MT7986 SoC.
252 endef
253
254 $(eval $(call KernelPackage,sound-soc-mt7986))
255
256
257 define KernelPackage/sound-soc-mt7986-wm8960
258 TITLE:=MediaTek MT7986 Audio support
259 KCONFIG:=CONFIG_SND_SOC_MT7986_WM8960
260 FILES:=$(LINUX_DIR)/sound/soc/mediatek/mt7986/mt7986-wm8960.ko
261 AUTOLOAD:=$(call AutoLoad,57,mt7986-wm8960)
262 DEPENDS:=@TARGET_mediatek_filogic +kmod-sound-soc-wm8960 +kmod-sound-soc-mt7986
263 $(call AddDepends/sound)
264 endef
265
266 define KernelPackage/sound-soc-mt7986-wm8960/description
267 Support for use of the Wolfson Audio WM8960 codec with the MediaTek MT7986 SoC.
268 endef
269
270 $(eval $(call KernelPackage,sound-soc-mt7986-wm8960))
271
272
273 define KernelPackage/sound-soc-imx-sgtl5000
274 TITLE:=IMX SoC support for SGTL5000
275 KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000
276 FILES:=\
277 $(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko \
278 $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-sgtl5000.ko
279 AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000 snd-soc-imx-sgtl5000)
280 DEPENDS:=@TARGET_imx +kmod-sound-soc-imx +kmod-regmap-i2c
281 $(call AddDepends/sound)
282 endef
283
284 define KernelPackage/sound-soc-imx-sgtl5000/description
285 Support for i.MX Platform sound SGTL5000 codec
286 endef
287
288 $(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
289
290
291 define KernelPackage/sound-soc-wm8960
292 TITLE:=SoC WM8960 codec support
293 KCONFIG:=CONFIG_SND_SOC_WM8960
294 FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko
295 DEPENDS:=+kmod-sound-soc-core +kmod-i2c-core +kmod-regmap-i2c
296 AUTOLOAD:=$(call AutoProbe,snd-soc-wm8960)
297 $(call AddDepends/sound)
298 endef
299
300 $(eval $(call KernelPackage,sound-soc-wm8960))
301
302
303 define KernelPackage/sound-soc-spdif
304 TITLE:=SoC S/PDIF codec support
305 KCONFIG:=CONFIG_SND_SOC_SPDIF
306 FILES:= \
307 $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-tx.ko \
308 $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-rx.ko
309 DEPENDS:=+kmod-sound-soc-core
310 AUTOLOAD:=$(call AutoProbe,snd-soc-spdif-tx snd-soc-spdif-rx)
311 $(call AddDepends/sound)
312 endef
313
314 $(eval $(call KernelPackage,sound-soc-spdif))
315
316
317 define KernelPackage/pcspkr
318 DEPENDS:=@TARGET_x86 +kmod-input-core
319 TITLE:=PC speaker support
320 KCONFIG:= \
321 CONFIG_SND_PCSP
322 FILES:= \
323 $(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
324 AUTOLOAD:=$(call AutoLoad,50,snd-pcsp)
325 $(call AddDepends/sound)
326 endef
327
328 define KernelPackage/pcspkr/description
329 This enables sounds (tones) through the pc speaker
330 endef
331
332 $(eval $(call KernelPackage,pcspkr))
333
334 define KernelPackage/sound-dummy
335 $(call AddDepends/sound)
336 TITLE:=Null sound output driver (sink)
337 KCONFIG:= \
338 CONFIG_SND_DUMMY
339 FILES:= \
340 $(LINUX_DIR)/sound/drivers/snd-dummy.ko
341 AUTOLOAD:=$(call AutoLoad,32,snd-dummy)
342 endef
343
344 define KernelPackage/sound-dummy/description
345 Dummy sound device for Alsa when no hardware present
346 endef
347
348 $(eval $(call KernelPackage,sound-dummy))
349
350 define KernelPackage/sound-hda-core
351 SUBMENU:=$(SOUND_MENU)
352 TITLE:=HD Audio Sound Core Support
353 DEPENDS:=+kmod-ledtrig-audio
354 KCONFIG:= \
355 CONFIG_SND_HDA_CORE \
356 CONFIG_SND_HDA_HWDEP=y \
357 CONFIG_SND_HDA_RECONFIG=n \
358 CONFIG_SND_HDA_INPUT_BEEP=n \
359 CONFIG_SND_HDA_PATCH_LOADER=n \
360 CONFIG_SND_HDA_GENERIC
361 FILES:= \
362 $(LINUX_DIR)/sound/hda/snd-hda-core.ko \
363 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec.ko \
364 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-generic.ko
365 AUTOLOAD:=$(call AutoProbe,snd-hda-core snd-hda-codec snd-hda-codec-generic)
366 $(call AddDepends/sound,+kmod-regmap-core)
367 endef
368
369 define KernelPackage/sound-hda-core/description
370 Kernel modules for HD Audio sound support
371 endef
372
373 $(eval $(call KernelPackage,sound-hda-core))
374
375 define KernelPackage/sound-hda-codec-realtek
376 SUBMENU:=$(SOUND_MENU)
377 TITLE:= HD Audio Realtek Codec
378 KCONFIG:= \
379 CONFIG_SND_HDA_CODEC_REALTEK
380 FILES:= \
381 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
382 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-realtek)
383 $(call AddDepends/sound,kmod-sound-hda-core)
384 endef
385
386 define KernelPackage/sound-hda-codec-realtek/description
387 Kernel modules for Intel HDA Realtek codec support
388 endef
389
390 $(eval $(call KernelPackage,sound-hda-codec-realtek))
391
392 define KernelPackage/sound-hda-codec-cmedia
393 SUBMENU:=$(SOUND_MENU)
394 TITLE:=HD Audio C-Media Codec
395 KCONFIG:= \
396 CONFIG_SND_HDA_CODEC_CMEDIA
397 FILES:= \
398 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cmedia.ko
399 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cmedia)
400 $(call AddDepends/sound,kmod-sound-hda-core)
401 endef
402
403 define KernelPackage/sound-hda-codec-cmedia/description
404 Kernel modules for HD Audio C-Media codec support
405 endef
406
407 $(eval $(call KernelPackage,sound-hda-codec-cmedia))
408
409 define KernelPackage/sound-hda-codec-analog
410 SUBMENU:=$(SOUND_MENU)
411 TITLE:=HD Audio Analog Devices Codec
412 KCONFIG:= \
413 CONFIG_SND_HDA_CODEC_ANALOG
414 FILES:= \
415 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-analog.ko
416 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-analog)
417 $(call AddDepends/sound,kmod-sound-hda-core)
418 endef
419
420 define KernelPackage/sound-hda-codec-analog/description
421 Kernel modules for HD Audio Analog Devices codec support
422 endef
423
424 $(eval $(call KernelPackage,sound-hda-codec-analog))
425
426 define KernelPackage/sound-hda-codec-idt
427 SUBMENU:=$(SOUND_MENU)
428 TITLE:=HD Audio Sigmatel IDT Codec
429 KCONFIG:= \
430 CONFIG_SND_HDA_CODEC_SIGMATEL
431 FILES:= \
432 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-idt.ko
433 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-idt)
434 $(call AddDepends/sound,kmod-sound-hda-core)
435 endef
436
437 define KernelPackage/sound-hda-codec-idt/description
438 Kernel modules for HD Audio Sigmatel IDT codec support
439 endef
440
441 $(eval $(call KernelPackage,sound-hda-codec-idt))
442
443 define KernelPackage/sound-hda-codec-si3054
444 SUBMENU:=$(SOUND_MENU)
445 TITLE:=HD Audio Silicon Labs 3054 Codec
446 KCONFIG:= \
447 CONFIG_SND_HDA_CODEC_SI3054
448 FILES:= \
449 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-si3054.ko
450 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-si3054)
451 $(call AddDepends/sound,kmod-sound-hda-core)
452 endef
453
454 define KernelPackage/sound-hda-codec-si3054/description
455 Kernel modules for HD Audio Silicon Labs 3054 codec support
456 endef
457
458 $(eval $(call KernelPackage,sound-hda-codec-si3054))
459
460 define KernelPackage/sound-hda-codec-cirrus
461 SUBMENU:=$(SOUND_MENU)
462 TITLE:=HD Audio Cirrus Logic Codec
463 KCONFIG:= \
464 CONFIG_SND_HDA_CODEC_CIRRUS
465 FILES:= \
466 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
467 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cirrus)
468 $(call AddDepends/sound,kmod-sound-hda-core)
469 endef
470
471 define KernelPackage/sound-hda-codec-cirrus/description
472 Kernel modules for HD Audio Cirrus Logic codec support
473 endef
474
475 $(eval $(call KernelPackage,sound-hda-codec-cirrus))
476
477 define KernelPackage/sound-hda-codec-ca0110
478 SUBMENU:=$(SOUND_MENU)
479 TITLE:=HD Audio Creative CA0110 Codec
480 KCONFIG:= \
481 CONFIG_SND_HDA_CODEC_CA0110
482 FILES:= \
483 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0110.ko
484 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0110)
485 $(call AddDepends/sound,kmod-sound-hda-core)
486 endef
487
488 define KernelPackage/sound-hda-codec-ca0110/description
489 Kernel modules for HD Audio Creative CA0110 codec support
490 endef
491
492 $(eval $(call KernelPackage,sound-hda-codec-ca0110))
493
494 define KernelPackage/sound-hda-codec-ca0132
495 SUBMENU:=$(SOUND_MENU)
496 TITLE:=HD Audio Creative CA0132 Codec
497 KCONFIG:= \
498 CONFIG_SND_HDA_CODEC_CA0132 \
499 CONFIG_SND_HDA_CODEC_CA0132_DSP=n
500 FILES:= \
501 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0132.ko
502 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0132)
503 $(call AddDepends/sound,kmod-sound-hda-core)
504 endef
505
506 define KernelPackage/sound-hda-codec-ca0132/description
507 Kernel modules for HD Audio Creative CA0132 codec support
508 endef
509
510 $(eval $(call KernelPackage,sound-hda-codec-ca0132))
511
512 define KernelPackage/sound-hda-codec-conexant
513 SUBMENU:=$(SOUND_MENU)
514 TITLE:=HD Audio Conexant Codec
515 KCONFIG:= \
516 CONFIG_SND_HDA_CODEC_CONEXANT
517 FILES:= \
518 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-conexant.ko
519 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-conexant)
520 $(call AddDepends/sound,kmod-sound-hda-core)
521 endef
522
523 define KernelPackage/sound-hda-codec-conexant/description
524 Kernel modules for HD Audio Conexant codec support
525 endef
526
527 $(eval $(call KernelPackage,sound-hda-codec-conexant))
528
529 define KernelPackage/sound-hda-codec-via
530 SUBMENU:=$(SOUND_MENU)
531 TITLE:=HD Audio Via Codec
532 KCONFIG:= \
533 CONFIG_SND_HDA_CODEC_VIA
534 FILES:= \
535 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-via.ko
536 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-via)
537 $(call AddDepends/sound,kmod-sound-hda-core)
538 endef
539
540 define KernelPackage/sound-hda-codec-via/description
541 Kernel modules for HD Audio VIA codec support
542 endef
543
544 $(eval $(call KernelPackage,sound-hda-codec-via))
545
546 define KernelPackage/sound-hda-codec-hdmi
547 SUBMENU:=$(SOUND_MENU)
548 TITLE:=HD Audio HDMI/DisplayPort Codec
549 KCONFIG:= \
550 CONFIG_SND_HDA_CODEC_HDMI
551 FILES:= \
552 $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-hdmi.ko
553 AUTOLOAD:=$(call AutoProbe,snd-hda-codec-hdmi)
554 $(call AddDepends/sound,kmod-sound-hda-core)
555 endef
556
557 define KernelPackage/sound-hda-codec-hdmi/description
558 Kernel modules for HD Audio HDMI codec support
559 endef
560
561 $(eval $(call KernelPackage,sound-hda-codec-hdmi))
562
563 define KernelPackage/sound-hda-intel
564 SUBMENU:=$(SOUND_MENU)
565 TITLE:=HD Audio Intel Driver
566 DEPENDS:=@TARGET_x86
567 KCONFIG:= \
568 CONFIG_SOUND_PCI \
569 CONFIG_SND_HDA_INTEL
570 FILES:= \
571 $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
572 $(LINUX_DIR)/sound/hda/snd-intel-dspcfg.ko
573 AUTOLOAD:=$(call AutoProbe,snd-hda-intel)
574 $(call AddDepends/sound,kmod-sound-hda-core)
575 endef
576
577 define KernelPackage/sound-hda-intel/description
578 Kernel modules for HD Audio Intel driver support
579 endef
580
581 $(eval $(call KernelPackage,sound-hda-intel))