X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d9dbb685437dd2637c62ae38409a22d22203d744..5efdbb7a7b8fc8978ff1c05713dc00553d3327fc:/package/kernel/modules/sound.mk diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk index 9350dbf34..46bc6853a 100644 --- a/package/kernel/modules/sound.mk +++ b/package/kernel/modules/sound.mk @@ -10,7 +10,7 @@ SOUND_MENU:=Sound Support define KernelPackage/sound-core SUBMENU:=$(SOUND_MENU) TITLE:=Sound support - DEPENDS:=@PCI_SUPPORT||USB_SUPPORT||TARGET_uml + DEPENDS:=@AUDIO_SUPPORT KCONFIG:= \ CONFIG_SOUND \ CONFIG_SND \ @@ -132,3 +132,16 @@ define KernelPackage/sound-cs5535audio/description endef $(eval $(call KernelPackage,sound-cs5535audio)) + + +define KernelPackage/sound-soc-core +$(call KernelPackage/sound/Depends) + TITLE:=SoC sound support + KCONFIG:= \ + CONFIG_SND_SOC \ + CONFIG_SND_SOC_ALL_CODECS=n + FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko + AUTOLOAD:=$(call AutoLoad,55, snd-soc-core) +endef + +$(eval $(call KernelPackage,sound-soc-core))