2
0

sound.mk 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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. SOUND_MENU:=Sound Support
  8. # allow targets to override the soundcore stuff
  9. SOUNDCORE_LOAD ?= \
  10. soundcore \
  11. snd \
  12. snd-hwdep \
  13. snd-seq-device \
  14. snd-rawmidi \
  15. snd-timer \
  16. snd-pcm \
  17. snd-mixer-oss \
  18. snd-pcm-oss \
  19. snd-compress
  20. SOUNDCORE_FILES ?= \
  21. $(LINUX_DIR)/sound/soundcore.ko \
  22. $(LINUX_DIR)/sound/core/snd.ko \
  23. $(LINUX_DIR)/sound/core/snd-hwdep.ko \
  24. $(LINUX_DIR)/sound/core/seq/snd-seq-device.ko@lt4.13 \
  25. $(LINUX_DIR)/sound/core/snd-seq-device.ko@ge4.13 \
  26. $(LINUX_DIR)/sound/core/snd-rawmidi.ko \
  27. $(LINUX_DIR)/sound/core/snd-timer.ko \
  28. $(LINUX_DIR)/sound/core/snd-pcm.ko \
  29. $(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \
  30. $(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko \
  31. $(LINUX_DIR)/sound/core/snd-compress.ko
  32. SOUNDCORE_LOAD += \
  33. $(if $(CONFIG_SND_DMAENGINE_PCM),snd-pcm-dmaengine)
  34. SOUNDCORE_FILES += \
  35. $(if $(CONFIG_SND_DMAENGINE_PCM),$(LINUX_DIR)/sound/core/snd-pcm-dmaengine.ko)
  36. define KernelPackage/sound-core
  37. SUBMENU:=$(SOUND_MENU)
  38. TITLE:=Sound support
  39. DEPENDS:=@AUDIO_SUPPORT +kmod-input-core
  40. KCONFIG:= \
  41. CONFIG_SOUND \
  42. CONFIG_SND \
  43. CONFIG_SND_HWDEP \
  44. CONFIG_SND_RAWMIDI \
  45. CONFIG_SND_TIMER \
  46. CONFIG_SND_PCM \
  47. CONFIG_SND_PCM_TIMER=y \
  48. CONFIG_SND_SEQUENCER \
  49. CONFIG_SND_VIRMIDI \
  50. CONFIG_SND_SEQ_DUMMY \
  51. CONFIG_SND_SEQUENCER_OSS=y \
  52. CONFIG_HOSTAUDIO \
  53. CONFIG_SND_PCM_OSS \
  54. CONFIG_SND_MIXER_OSS \
  55. CONFIG_SOUND_OSS_CORE_PRECLAIM=y \
  56. CONFIG_SND_COMPRESS_OFFLOAD
  57. FILES:=$(SOUNDCORE_FILES)
  58. AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
  59. endef
  60. define KernelPackage/sound-core/uml
  61. FILES:= \
  62. $(LINUX_DIR)/sound/soundcore.ko \
  63. $(LINUX_DIR)/arch/um/drivers/hostaudio.ko
  64. AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
  65. endef
  66. define KernelPackage/sound-core/description
  67. Kernel modules for sound support
  68. endef
  69. $(eval $(call KernelPackage,sound-core))
  70. define AddDepends/sound
  71. SUBMENU:=$(SOUND_MENU)
  72. DEPENDS+=kmod-sound-core $(1) @!TARGET_uml
  73. endef
  74. define KernelPackage/ac97
  75. TITLE:=ac97 controller
  76. KCONFIG:=CONFIG_SND_AC97_CODEC
  77. FILES:= \
  78. $(LINUX_DIR)/sound/ac97_bus.ko \
  79. $(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.ko
  80. AUTOLOAD:=$(call AutoLoad,35,ac97_bus snd-ac97-codec)
  81. $(call AddDepends/sound)
  82. endef
  83. define KernelPackage/ac97/description
  84. The ac97 controller
  85. endef
  86. $(eval $(call KernelPackage,ac97))
  87. define KernelPackage/sound-mpu401
  88. TITLE:=MPU-401 uart driver
  89. KCONFIG:=CONFIG_SND_MPU401_UART
  90. FILES:= \
  91. $(LINUX_DIR)/sound/drivers/mpu401/snd-mpu401-uart.ko
  92. AUTOLOAD:=$(call AutoLoad,35,snd-mpu401-uart)
  93. $(call AddDepends/sound)
  94. endef
  95. define KernelPackage/sound-mpu401/description
  96. support for MIDI ports compatible with the Roland MPU-401
  97. interface in UART mode.
  98. endef
  99. $(eval $(call KernelPackage,sound-mpu401))
  100. define KernelPackage/sound-seq
  101. TITLE:=Sequencer support
  102. FILES:= \
  103. $(LINUX_DIR)/sound/core/seq/snd-seq.ko \
  104. $(LINUX_DIR)/sound/core/seq/snd-seq-midi-event.ko \
  105. $(LINUX_DIR)/sound/core/seq/snd-seq-midi.ko
  106. AUTOLOAD:=$(call AutoLoad,35,snd-seq snd-seq-midi-event snd-seq-midi)
  107. $(call AddDepends/sound)
  108. endef
  109. define KernelPackage/sound-seq/description
  110. Kernel modules for sequencer support
  111. endef
  112. $(eval $(call KernelPackage,sound-seq))
  113. define KernelPackage/sound-ens1371
  114. TITLE:=(Creative) Ensoniq AudioPCI 1371
  115. KCONFIG:=CONFIG_SND_ENS1371
  116. DEPENDS:=@PCI_SUPPORT +kmod-ac97
  117. FILES:=$(LINUX_DIR)/sound/pci/snd-ens1371.ko
  118. AUTOLOAD:=$(call AutoLoad,36,snd-ens1371)
  119. $(call AddDepends/sound)
  120. endef
  121. define KernelPackage/sound-ens1371/description
  122. support for (Creative) Ensoniq AudioPCI 1371 chips
  123. endef
  124. $(eval $(call KernelPackage,sound-ens1371))
  125. define KernelPackage/sound-i8x0
  126. TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
  127. DEPENDS:=+kmod-ac97
  128. KCONFIG:=CONFIG_SND_INTEL8X0
  129. FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.ko
  130. AUTOLOAD:=$(call AutoLoad,36,snd-intel8x0)
  131. $(call AddDepends/sound)
  132. endef
  133. define KernelPackage/sound-i8x0/description
  134. support for the integrated AC97 sound device on motherboards
  135. with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
  136. the M5455 Audio Controller.
  137. endef
  138. $(eval $(call KernelPackage,sound-i8x0))
  139. define KernelPackage/sound-via82xx
  140. TITLE:=VIA 82xx AC97 Controller
  141. DEPENDS:=+kmod-ac97 +kmod-sound-mpu401
  142. KCONFIG:=CONFIG_SND_VIA82XX
  143. FILES:=$(LINUX_DIR)/sound/pci/snd-via82xx.ko
  144. AUTOLOAD:=$(call AutoLoad,36,snd-via82xx)
  145. $(call AddDepends/sound)
  146. endef
  147. define KernelPackage/sound-via82xx/description
  148. support for the integrated AC97 sound device on motherboards
  149. with VIA chipsets.
  150. endef
  151. $(eval $(call KernelPackage,sound-via82xx))
  152. define KernelPackage/sound-soc-core
  153. TITLE:=SoC sound support
  154. DEPENDS:=+kmod-regmap-core +kmod-ac97
  155. KCONFIG:= \
  156. CONFIG_SND_SOC \
  157. CONFIG_SND_SOC_ADI=n \
  158. CONFIG_SND_SOC_DMAENGINE_PCM=y \
  159. CONFIG_SND_SOC_ALL_CODECS=n
  160. FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko
  161. AUTOLOAD:=$(call AutoLoad,55, snd-soc-core)
  162. $(call AddDepends/sound)
  163. endef
  164. $(eval $(call KernelPackage,sound-soc-core))
  165. define KernelPackage/sound-soc-ac97
  166. TITLE:=AC97 Codec support
  167. KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
  168. FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-ac97.ko
  169. AUTOLOAD:=$(call AutoLoad,57,snd-soc-ac97)
  170. DEPENDS:=+kmod-ac97 +kmod-sound-soc-core
  171. $(call AddDepends/sound)
  172. endef
  173. $(eval $(call KernelPackage,sound-soc-ac97))
  174. define KernelPackage/sound-soc-imx
  175. TITLE:=IMX SoC support
  176. KCONFIG:=\
  177. CONFIG_SND_IMX_SOC \
  178. CONFIG_SND_SOC_IMX_AUDMUX \
  179. CONFIG_SND_SOC_FSL_SSI \
  180. CONFIG_SND_SOC_IMX_PCM_DMA
  181. FILES:= \
  182. $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \
  183. $(LINUX_DIR)/sound/soc/fsl/snd-soc-fsl-ssi.ko \
  184. $(LINUX_DIR)/sound/soc/fsl/imx-pcm-dma.ko
  185. AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx-audmux snd-soc-fsl-ssi snd-soc-imx-pcm)
  186. DEPENDS:=@TARGET_imx6 +kmod-sound-soc-core
  187. $(call AddDepends/sound)
  188. endef
  189. define KernelPackage/sound-soc-imx/description
  190. Support for i.MX6 Platform sound (ssi/audmux/pcm)
  191. endef
  192. $(eval $(call KernelPackage,sound-soc-imx))
  193. define KernelPackage/sound-soc-imx-sgtl5000
  194. TITLE:=IMX SoC support for SGTL5000
  195. KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000
  196. FILES:=\
  197. $(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko \
  198. $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-sgtl5000.ko
  199. AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000 snd-soc-imx-sgtl5000)
  200. DEPENDS:=@TARGET_imx6 +kmod-sound-soc-imx
  201. $(call AddDepends/sound)
  202. endef
  203. define KernelPackage/sound-soc-imx-sgtl5000/description
  204. Support for i.MX6 Platform sound SGTL5000 codec
  205. endef
  206. $(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
  207. define KernelPackage/sound-soc-gw_avila
  208. TITLE:=Gateworks Avila SoC sound support
  209. KCONFIG:= \
  210. CONFIG_SND_GW_AVILA_SOC \
  211. CONFIG_SND_GW_AVILA_SOC_PCM \
  212. CONFIG_SND_GW_AVILA_SOC_HSS
  213. FILES:= \
  214. $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
  215. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila.ko \
  216. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-pcm.ko \
  217. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-hss.ko
  218. AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-gw-avila snd-soc-gw-avila-pcm snd-soc-gw-avila-hss)
  219. DEPENDS:=@TARGET_ixp4xx +kmod-sound-soc-core
  220. $(call AddDepends/sound)
  221. endef
  222. $(eval $(call KernelPackage,sound-soc-gw_avila))
  223. define KernelPackage/pcspkr
  224. DEPENDS:=@TARGET_x86 +kmod-input-core
  225. TITLE:=PC speaker support
  226. KCONFIG:= \
  227. CONFIG_SND_PCSP
  228. FILES:= \
  229. $(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
  230. AUTOLOAD:=$(call AutoLoad,50,snd-pcsp)
  231. $(call AddDepends/sound)
  232. endef
  233. define KernelPackage/pcspkr/description
  234. This enables sounds (tones) through the pc speaker
  235. endef
  236. $(eval $(call KernelPackage,pcspkr))
  237. define KernelPackage/sound-dummy
  238. $(call AddDepends/sound)
  239. TITLE:=Null sound output driver (sink)
  240. KCONFIG:= \
  241. CONFIG_SND_DUMMY
  242. FILES:= \
  243. $(LINUX_DIR)/sound/drivers/snd-dummy.ko
  244. AUTOLOAD:=$(call AutoLoad,32,snd-dummy)
  245. endef
  246. define KernelPackage/sound_dummy/description
  247. Dummy sound device for Alsa when no hardware present
  248. endef
  249. $(eval $(call KernelPackage,sound-dummy))
  250. define KernelPackage/sound-hda-core
  251. SUBMENU:=$(SOUND_MENU)
  252. TITLE:=HD Audio Sound Core Support
  253. KCONFIG:= \
  254. CONFIG_SND_HDA_CORE@ge4.1 \
  255. CONFIG_SND_HDA_HWDEP=y \
  256. CONFIG_SND_HDA_RECONFIG=n \
  257. CONFIG_SND_HDA_INPUT_BEEP=n \
  258. CONFIG_SND_HDA_PATCH_LOADER=n \
  259. CONFIG_SND_HDA_GENERIC
  260. FILES:= \
  261. $(LINUX_DIR)/sound/hda/snd-hda-core.ko@ge4.1 \
  262. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec.ko \
  263. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-generic.ko
  264. AUTOLOAD:=$(call AutoProbe,snd-hda-core@ge4.1 snd-hda-codec snd-hda-codec-generic)
  265. $(call AddDepends/sound,+kmod-regmap-core)
  266. endef
  267. define KernelPackage/sound-hda-core/description
  268. Kernel modules for HD Audio sound support
  269. endef
  270. $(eval $(call KernelPackage,sound-hda-core))
  271. define KernelPackage/sound-hda-codec-realtek
  272. SUBMENU:=$(SOUND_MENU)
  273. TITLE:= HD Audio Realtek Codec
  274. KCONFIG:= \
  275. CONFIG_SND_HDA_CODEC_REALTEK
  276. FILES:= \
  277. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
  278. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-realtek)
  279. $(call AddDepends/sound,kmod-sound-hda-core)
  280. endef
  281. define KernelPackage/sound-hda-codec-realtek/description
  282. Kernel modules for Intel HDA Realtek codec support
  283. endef
  284. $(eval $(call KernelPackage,sound-hda-codec-realtek))
  285. define KernelPackage/sound-hda-codec-cmedia
  286. SUBMENU:=$(SOUND_MENU)
  287. TITLE:=HD Audio C-Media Codec
  288. KCONFIG:= \
  289. CONFIG_SND_HDA_CODEC_CMEDIA
  290. FILES:= \
  291. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cmedia.ko
  292. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cmedia)
  293. $(call AddDepends/sound,kmod-sound-hda-core)
  294. endef
  295. define KernelPackage/sound-hda-codec-cmedia/description
  296. Kernel modules for HD Audio C-Media codec support
  297. endef
  298. $(eval $(call KernelPackage,sound-hda-codec-cmedia))
  299. define KernelPackage/sound-hda-codec-analog
  300. SUBMENU:=$(SOUND_MENU)
  301. TITLE:=HD Audio Analog Devices Codec
  302. KCONFIG:= \
  303. CONFIG_SND_HDA_CODEC_ANALOG
  304. FILES:= \
  305. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-analog.ko
  306. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-analog)
  307. $(call AddDepends/sound,kmod-sound-hda-core)
  308. endef
  309. define KernelPackage/sound-hda-codec-analog/description
  310. Kernel modules for HD Audio Analog Devices codec support
  311. endef
  312. $(eval $(call KernelPackage,sound-hda-codec-analog))
  313. define KernelPackage/sound-hda-codec-idt
  314. SUBMENU:=$(SOUND_MENU)
  315. TITLE:=HD Audio Sigmatel IDT Codec
  316. KCONFIG:= \
  317. CONFIG_SND_HDA_CODEC_SIGMATEL
  318. FILES:= \
  319. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-idt.ko
  320. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-idt)
  321. $(call AddDepends/sound,kmod-sound-hda-core)
  322. endef
  323. define KernelPackage/sound-hda-codec-idt/description
  324. Kernel modules for HD Audio Sigmatel IDT codec support
  325. endef
  326. $(eval $(call KernelPackage,sound-hda-codec-idt))
  327. define KernelPackage/sound-hda-codec-si3054
  328. SUBMENU:=$(SOUND_MENU)
  329. TITLE:=HD Audio Silicon Labs 3054 Codec
  330. KCONFIG:= \
  331. CONFIG_SND_HDA_CODEC_SI3054
  332. FILES:= \
  333. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-si3054.ko
  334. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-si3054)
  335. $(call AddDepends/sound,kmod-sound-hda-core)
  336. endef
  337. define KernelPackage/sound-hda-codec-si3054/description
  338. Kernel modules for HD Audio Silicon Labs 3054 codec support
  339. endef
  340. $(eval $(call KernelPackage,sound-hda-codec-si3054))
  341. define KernelPackage/sound-hda-codec-cirrus
  342. SUBMENU:=$(SOUND_MENU)
  343. TITLE:=HD Audio Cirrus Logic Codec
  344. KCONFIG:= \
  345. CONFIG_SND_HDA_CODEC_CIRRUS
  346. FILES:= \
  347. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
  348. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cirrus)
  349. $(call AddDepends/sound,kmod-sound-hda-core)
  350. endef
  351. define KernelPackage/sound-hda-codec-cirrus/description
  352. Kernel modules for HD Audio Cirrus Logic codec support
  353. endef
  354. $(eval $(call KernelPackage,sound-hda-codec-cirrus))
  355. define KernelPackage/sound-hda-codec-ca0110
  356. SUBMENU:=$(SOUND_MENU)
  357. TITLE:=HD Audio Creative CA0110 Codec
  358. KCONFIG:= \
  359. CONFIG_SND_HDA_CODEC_CA0110
  360. FILES:= \
  361. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0110.ko
  362. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0110)
  363. $(call AddDepends/sound,kmod-sound-hda-core)
  364. endef
  365. define KernelPackage/sound-hda-codec-ca0110/description
  366. Kernel modules for HD Audio Creative CA0110 codec support
  367. endef
  368. $(eval $(call KernelPackage,sound-hda-codec-ca0110))
  369. define KernelPackage/sound-hda-codec-ca0132
  370. SUBMENU:=$(SOUND_MENU)
  371. TITLE:=HD Audio Creative CA0132 Codec
  372. KCONFIG:= \
  373. CONFIG_SND_HDA_CODEC_CA0132 \
  374. CONFIG_SND_HDA_CODEC_CA0132_DSP=n
  375. FILES:= \
  376. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0132.ko
  377. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0132)
  378. $(call AddDepends/sound,kmod-sound-hda-core)
  379. endef
  380. define KernelPackage/sound-hda-codec-ca0132/description
  381. Kernel modules for HD Audio Creative CA0132 codec support
  382. endef
  383. $(eval $(call KernelPackage,sound-hda-codec-ca0132))
  384. define KernelPackage/sound-hda-codec-conexant
  385. SUBMENU:=$(SOUND_MENU)
  386. TITLE:=HD Audio Conexant Codec
  387. KCONFIG:= \
  388. CONFIG_SND_HDA_CODEC_CONEXANT
  389. FILES:= \
  390. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-conexant.ko
  391. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-conexant)
  392. $(call AddDepends/sound,kmod-sound-hda-core)
  393. endef
  394. define KernelPackage/sound-hda-codec-conexant/description
  395. Kernel modules for HD Audio Conexant codec support
  396. endef
  397. $(eval $(call KernelPackage,sound-hda-codec-conexant))
  398. define KernelPackage/sound-hda-codec-via
  399. SUBMENU:=$(SOUND_MENU)
  400. TITLE:=HD Audio Via Codec
  401. KCONFIG:= \
  402. CONFIG_SND_HDA_CODEC_VIA
  403. FILES:= \
  404. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-via.ko
  405. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-via)
  406. $(call AddDepends/sound,kmod-sound-hda-core)
  407. endef
  408. define KernelPackage/sound-hda-codec-via/description
  409. Kernel modules for HD Audio VIA codec support
  410. endef
  411. $(eval $(call KernelPackage,sound-hda-codec-via))
  412. define KernelPackage/sound-hda-codec-hdmi
  413. SUBMENU:=$(SOUND_MENU)
  414. TITLE:=HD Audio HDMI/DisplayPort Codec
  415. KCONFIG:= \
  416. CONFIG_SND_HDA_CODEC_HDMI
  417. FILES:= \
  418. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-hdmi.ko
  419. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-hdmi)
  420. $(call AddDepends/sound,kmod-sound-hda-core)
  421. endef
  422. define KernelPackage/sound-hda-codec-hdmi/description
  423. Kernel modules for HD Audio HDMI codec support
  424. endef
  425. $(eval $(call KernelPackage,sound-hda-codec-hdmi))
  426. define KernelPackage/sound-hda-intel
  427. SUBMENU:=$(SOUND_MENU)
  428. TITLE:=HD Audio Intel Driver
  429. KCONFIG:= \
  430. CONFIG_SOUND_PCI \
  431. CONFIG_SND_HDA_INTEL
  432. FILES:= \
  433. $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
  434. $(LINUX_DIR)/sound/pci/hda/snd-hda-controller.ko@lt4.4
  435. AUTOLOAD:=$(call AutoProbe,snd-hda-controller@lt4.4 snd-hda-intel)
  436. $(call AddDepends/sound,kmod-sound-hda-core)
  437. endef
  438. define KernelPackage/sound-hda-intel/description
  439. Kernel modules for HD Audio Intel driver support
  440. endef
  441. $(eval $(call KernelPackage,sound-hda-intel))