sound.mk 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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 +kmod-ac97
  155. KCONFIG:= \
  156. CONFIG_SND_SOC \
  157. CONFIG_SND_SOC_DMAENGINE_PCM=y \
  158. CONFIG_SND_SOC_ALL_CODECS=n
  159. FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko
  160. AUTOLOAD:=$(call AutoLoad,55, snd-soc-core)
  161. $(call AddDepends/sound)
  162. endef
  163. $(eval $(call KernelPackage,sound-soc-core))
  164. define KernelPackage/sound-soc-ac97
  165. TITLE:=AC97 Codec support
  166. KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
  167. FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-ac97.ko
  168. AUTOLOAD:=$(call AutoLoad,57,snd-soc-ac97)
  169. DEPENDS:=+kmod-ac97 +kmod-sound-soc-core
  170. $(call AddDepends/sound)
  171. endef
  172. $(eval $(call KernelPackage,sound-soc-ac97))
  173. define KernelPackage/sound-soc-imx
  174. TITLE:=IMX SoC support
  175. KCONFIG:=\
  176. CONFIG_SND_IMX_SOC \
  177. CONFIG_SND_SOC_IMX_AUDMUX \
  178. CONFIG_SND_SOC_FSL_SSI \
  179. CONFIG_SND_SOC_IMX_PCM_DMA
  180. FILES:= \
  181. $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \
  182. $(LINUX_DIR)/sound/soc/fsl/snd-soc-fsl-ssi.ko \
  183. $(LINUX_DIR)/sound/soc/fsl/imx-pcm-dma.ko
  184. AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx-audmux snd-soc-fsl-ssi snd-soc-imx-pcm)
  185. DEPENDS:=@TARGET_imx6 +kmod-sound-soc-core
  186. $(call AddDepends/sound)
  187. endef
  188. define KernelPackage/sound-soc-imx/description
  189. Support for i.MX6 Platform sound (ssi/audmux/pcm)
  190. endef
  191. $(eval $(call KernelPackage,sound-soc-imx))
  192. define KernelPackage/sound-soc-imx-sgtl5000
  193. TITLE:=IMX SoC support for SGTL5000
  194. KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000
  195. FILES:=\
  196. $(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko \
  197. $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-sgtl5000.ko
  198. AUTOLOAD:=$(call AutoLoad,57,snd-soc-sgtl5000 snd-soc-imx-sgtl5000)
  199. DEPENDS:=@TARGET_imx6 +kmod-sound-soc-imx
  200. $(call AddDepends/sound)
  201. endef
  202. define KernelPackage/sound-soc-imx-sgtl5000/description
  203. Support for i.MX6 Platform sound SGTL5000 codec
  204. endef
  205. $(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
  206. define KernelPackage/sound-soc-gw_avila
  207. TITLE:=Gateworks Avila SoC sound support
  208. KCONFIG:= \
  209. CONFIG_SND_GW_AVILA_SOC \
  210. CONFIG_SND_GW_AVILA_SOC_PCM \
  211. CONFIG_SND_GW_AVILA_SOC_HSS
  212. FILES:= \
  213. $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
  214. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila.ko \
  215. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-pcm.ko \
  216. $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-hss.ko
  217. AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-gw-avila snd-soc-gw-avila-pcm snd-soc-gw-avila-hss)
  218. DEPENDS:=@TARGET_ixp4xx +kmod-sound-soc-core
  219. $(call AddDepends/sound)
  220. endef
  221. $(eval $(call KernelPackage,sound-soc-gw_avila))
  222. define KernelPackage/pcspkr
  223. DEPENDS:=@TARGET_x86 +kmod-input-core
  224. TITLE:=PC speaker support
  225. KCONFIG:= \
  226. CONFIG_SND_PCSP
  227. FILES:= \
  228. $(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
  229. AUTOLOAD:=$(call AutoLoad,50,snd-pcsp)
  230. $(call AddDepends/sound)
  231. endef
  232. define KernelPackage/pcspkr/description
  233. This enables sounds (tones) through the pc speaker
  234. endef
  235. $(eval $(call KernelPackage,pcspkr))
  236. define KernelPackage/sound-dummy
  237. $(call AddDepends/sound)
  238. TITLE:=Null sound output driver (sink)
  239. KCONFIG:= \
  240. CONFIG_SND_DUMMY
  241. FILES:= \
  242. $(LINUX_DIR)/sound/drivers/snd-dummy.ko
  243. AUTOLOAD:=$(call AutoLoad,32,snd-dummy)
  244. endef
  245. define KernelPackage/sound_dummy/description
  246. Dummy sound device for Alsa when no hardware present
  247. endef
  248. $(eval $(call KernelPackage,sound-dummy))
  249. define KernelPackage/sound-hda-core
  250. SUBMENU:=$(SOUND_MENU)
  251. TITLE:=HD Audio Sound Core Support
  252. KCONFIG:= \
  253. CONFIG_SND_HDA_CORE@ge4.1 \
  254. CONFIG_SND_HDA_HWDEP=y \
  255. CONFIG_SND_HDA_RECONFIG=n \
  256. CONFIG_SND_HDA_INPUT_BEEP=n \
  257. CONFIG_SND_HDA_PATCH_LOADER=n \
  258. CONFIG_SND_HDA_GENERIC
  259. FILES:= \
  260. $(LINUX_DIR)/sound/hda/snd-hda-core.ko@ge4.1 \
  261. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec.ko \
  262. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-generic.ko
  263. AUTOLOAD:=$(call AutoProbe,snd-hda-core@ge4.1 snd-hda-codec snd-hda-codec-generic)
  264. $(call AddDepends/sound,+kmod-regmap)
  265. endef
  266. define KernelPackage/sound-hda-core/description
  267. Kernel modules for HD Audio sound support
  268. endef
  269. $(eval $(call KernelPackage,sound-hda-core))
  270. define KernelPackage/sound-hda-codec-realtek
  271. SUBMENU:=$(SOUND_MENU)
  272. TITLE:= HD Audio Realtek Codec
  273. KCONFIG:= \
  274. CONFIG_SND_HDA_CODEC_REALTEK
  275. FILES:= \
  276. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
  277. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-realtek)
  278. $(call AddDepends/sound,kmod-sound-hda-core)
  279. endef
  280. define KernelPackage/sound-hda-codec-realtek/description
  281. Kernel modules for Intel HDA Realtek codec support
  282. endef
  283. $(eval $(call KernelPackage,sound-hda-codec-realtek))
  284. define KernelPackage/sound-hda-codec-cmedia
  285. SUBMENU:=$(SOUND_MENU)
  286. TITLE:=HD Audio C-Media Codec
  287. KCONFIG:= \
  288. CONFIG_SND_HDA_CODEC_CMEDIA
  289. FILES:= \
  290. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cmedia.ko
  291. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cmedia)
  292. $(call AddDepends/sound,kmod-sound-hda-core)
  293. endef
  294. define KernelPackage/sound-hda-codec-cmedia/description
  295. Kernel modules for HD Audio C-Media codec support
  296. endef
  297. $(eval $(call KernelPackage,sound-hda-codec-cmedia))
  298. define KernelPackage/sound-hda-codec-analog
  299. SUBMENU:=$(SOUND_MENU)
  300. TITLE:=HD Audio Analog Devices Codec
  301. KCONFIG:= \
  302. CONFIG_SND_HDA_CODEC_ANALOG
  303. FILES:= \
  304. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-analog.ko
  305. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-analog)
  306. $(call AddDepends/sound,kmod-sound-hda-core)
  307. endef
  308. define KernelPackage/sound-hda-codec-analog/description
  309. Kernel modules for HD Audio Analog Devices codec support
  310. endef
  311. $(eval $(call KernelPackage,sound-hda-codec-analog))
  312. define KernelPackage/sound-hda-codec-idt
  313. SUBMENU:=$(SOUND_MENU)
  314. TITLE:=HD Audio Sigmatel IDT Codec
  315. KCONFIG:= \
  316. CONFIG_SND_HDA_CODEC_SIGMATEL
  317. FILES:= \
  318. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-idt.ko
  319. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-idt)
  320. $(call AddDepends/sound,kmod-sound-hda-core)
  321. endef
  322. define KernelPackage/sound-hda-codec-idt/description
  323. Kernel modules for HD Audio Sigmatel IDT codec support
  324. endef
  325. $(eval $(call KernelPackage,sound-hda-codec-idt))
  326. define KernelPackage/sound-hda-codec-si3054
  327. SUBMENU:=$(SOUND_MENU)
  328. TITLE:=HD Audio Silicon Labs 3054 Codec
  329. KCONFIG:= \
  330. CONFIG_SND_HDA_CODEC_SI3054
  331. FILES:= \
  332. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-si3054.ko
  333. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-si3054)
  334. $(call AddDepends/sound,kmod-sound-hda-core)
  335. endef
  336. define KernelPackage/sound-hda-codec-si3054/description
  337. Kernel modules for HD Audio Silicon Labs 3054 codec support
  338. endef
  339. $(eval $(call KernelPackage,sound-hda-codec-si3054))
  340. define KernelPackage/sound-hda-codec-cirrus
  341. SUBMENU:=$(SOUND_MENU)
  342. TITLE:=HD Audio Cirrus Logic Codec
  343. KCONFIG:= \
  344. CONFIG_SND_HDA_CODEC_CIRRUS
  345. FILES:= \
  346. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
  347. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-cirrus)
  348. $(call AddDepends/sound,kmod-sound-hda-core)
  349. endef
  350. define KernelPackage/sound-hda-codec-cirrus/description
  351. Kernel modules for HD Audio Cirrus Logic codec support
  352. endef
  353. $(eval $(call KernelPackage,sound-hda-codec-cirrus))
  354. define KernelPackage/sound-hda-codec-ca0110
  355. SUBMENU:=$(SOUND_MENU)
  356. TITLE:=HD Audio Creative CA0110 Codec
  357. KCONFIG:= \
  358. CONFIG_SND_HDA_CODEC_CA0110
  359. FILES:= \
  360. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0110.ko
  361. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0110)
  362. $(call AddDepends/sound,kmod-sound-hda-core)
  363. endef
  364. define KernelPackage/sound-hda-codec-ca0110/description
  365. Kernel modules for HD Audio Creative CA0110 codec support
  366. endef
  367. $(eval $(call KernelPackage,sound-hda-codec-ca0110))
  368. define KernelPackage/sound-hda-codec-ca0132
  369. SUBMENU:=$(SOUND_MENU)
  370. TITLE:=HD Audio Creative CA0132 Codec
  371. KCONFIG:= \
  372. CONFIG_SND_HDA_CODEC_CA0132 \
  373. CONFIG_SND_HDA_CODEC_CA0132_DSP=n
  374. FILES:= \
  375. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0132.ko
  376. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-ca0132)
  377. $(call AddDepends/sound,kmod-sound-hda-core)
  378. endef
  379. define KernelPackage/sound-hda-codec-ca0132/description
  380. Kernel modules for HD Audio Creative CA0132 codec support
  381. endef
  382. $(eval $(call KernelPackage,sound-hda-codec-ca0132))
  383. define KernelPackage/sound-hda-codec-conexant
  384. SUBMENU:=$(SOUND_MENU)
  385. TITLE:=HD Audio Conexant Codec
  386. KCONFIG:= \
  387. CONFIG_SND_HDA_CODEC_CONEXANT
  388. FILES:= \
  389. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-conexant.ko
  390. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-conexant)
  391. $(call AddDepends/sound,kmod-sound-hda-core)
  392. endef
  393. define KernelPackage/sound-hda-codec-conexant/description
  394. Kernel modules for HD Audio Conexant codec support
  395. endef
  396. $(eval $(call KernelPackage,sound-hda-codec-conexant))
  397. define KernelPackage/sound-hda-codec-via
  398. SUBMENU:=$(SOUND_MENU)
  399. TITLE:=HD Audio Via Codec
  400. KCONFIG:= \
  401. CONFIG_SND_HDA_CODEC_VIA
  402. FILES:= \
  403. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-via.ko
  404. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-via)
  405. $(call AddDepends/sound,kmod-sound-hda-core)
  406. endef
  407. define KernelPackage/sound-hda-codec-via/description
  408. Kernel modules for HD Audio VIA codec support
  409. endef
  410. $(eval $(call KernelPackage,sound-hda-codec-via))
  411. define KernelPackage/sound-hda-codec-hdmi
  412. SUBMENU:=$(SOUND_MENU)
  413. TITLE:=HD Audio HDMI/DisplayPort Codec
  414. KCONFIG:= \
  415. CONFIG_SND_HDA_CODEC_HDMI
  416. FILES:= \
  417. $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-hdmi.ko
  418. AUTOLOAD:=$(call AutoProbe,snd-hda-codec-hdmi)
  419. $(call AddDepends/sound,kmod-sound-hda-core)
  420. endef
  421. define KernelPackage/sound-hda-codec-hdmi/description
  422. Kernel modules for HD Audio HDMI codec support
  423. endef
  424. $(eval $(call KernelPackage,sound-hda-codec-hdmi))
  425. define KernelPackage/sound-hda-intel
  426. SUBMENU:=$(SOUND_MENU)
  427. TITLE:=HD Audio Intel Driver
  428. KCONFIG:= \
  429. CONFIG_SOUND_PCI \
  430. CONFIG_SND_HDA_INTEL
  431. FILES:= \
  432. $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
  433. $(LINUX_DIR)/sound/pci/hda/snd-hda-controller.ko@lt4.4
  434. AUTOLOAD:=$(call AutoProbe,snd-hda-controller@lt4.4 snd-hda-intel)
  435. $(call AddDepends/sound,kmod-sound-hda-core)
  436. endef
  437. define KernelPackage/sound-hda-intel/description
  438. Kernel modules for HD Audio Intel driver support
  439. endef
  440. $(eval $(call KernelPackage,sound-hda-intel))