mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
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 <hauke@hauke-m.de>
This commit is contained in:
parent
59f2814c09
commit
a847e0ddd2
@ -502,11 +502,13 @@ $(eval $(call KernelPackage,sound-hda-codec-hdmi))
|
|||||||
define KernelPackage/sound-hda-intel
|
define KernelPackage/sound-hda-intel
|
||||||
SUBMENU:=$(SOUND_MENU)
|
SUBMENU:=$(SOUND_MENU)
|
||||||
TITLE:=HD Audio Intel Driver
|
TITLE:=HD Audio Intel Driver
|
||||||
|
DEPENDS:=@TARGET_x86
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_SOUND_PCI \
|
CONFIG_SOUND_PCI \
|
||||||
CONFIG_SND_HDA_INTEL
|
CONFIG_SND_HDA_INTEL
|
||||||
FILES:= \
|
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)
|
AUTOLOAD:=$(call AutoProbe,snd-hda-intel)
|
||||||
$(call AddDepends/sound,kmod-sound-hda-core)
|
$(call AddDepends/sound,kmod-sound-hda-core)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user