From a847e0ddd2ef0f510b9e398c679cd35a105c5343 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 23 Feb 2020 16:41:16 +0100 Subject: kernel: Add snd-intel-nhlt.ko to kmod-sound-hda-intel With kernel 5.4 kmod-sound-hda-intel also needs snd-intel-nhlt.ko, but this kernel module is only build on x86, make the OpenWrt kmod depend on TARGET_x86. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/sound.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/kernel/linux/modules') diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index a49ba6da6a..f975103e50 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -502,11 +502,13 @@ $(eval $(call KernelPackage,sound-hda-codec-hdmi)) define KernelPackage/sound-hda-intel SUBMENU:=$(SOUND_MENU) TITLE:=HD Audio Intel Driver + DEPENDS:=@TARGET_x86 KCONFIG:= \ CONFIG_SOUND_PCI \ CONFIG_SND_HDA_INTEL FILES:= \ - $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko + $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \ + $(LINUX_DIR)/sound/hda/snd-intel-nhlt.ko@ge5.4 AUTOLOAD:=$(call AutoProbe,snd-hda-intel) $(call AddDepends/sound,kmod-sound-hda-core) endef -- cgit v1.2.3