$(eval $(call KernelPackage,sound-hda-core))
+define KernelPackage/snd-hda-scodec-component
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:= HD Audio Codec Component
+ DEPENDS:=@LINUX_6_12
+ KCONFIG:= \
+ CONFIG_SND_HDA_SCODEC_COMPONENT
+ FILES:= \
+ $(LINUX_DIR)/sound/pci/hda/snd-hda-scodec-component.ko
+ AUTOLOAD:=$(call AutoProbe,snd-hda-scodec-component)
+ $(call AddDepends/sound,kmod-sound-hda-core)
+endef
+
+$(eval $(call KernelPackage,snd-hda-scodec-component))
+
define KernelPackage/sound-hda-codec-realtek
SUBMENU:=$(SOUND_MENU)
TITLE:= HD Audio Realtek Codec
FILES:= \
$(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
AUTOLOAD:=$(call AutoProbe,snd-hda-codec-realtek)
- $(call AddDepends/sound,kmod-sound-hda-core)
+ $(call AddDepends/sound,kmod-sound-hda-core +LINUX_6_12:kmod-snd-hda-scodec-component)
endef
define KernelPackage/sound-hda-codec-realtek/description