]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
x86: cs5535audio: add support for subtarget legacy
authorPierre-Emmanuel Frot <piemfrot@gmail.com>
Sun, 18 Jan 2026 20:13:28 +0000 (21:13 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 19 Jan 2026 11:50:00 +0000 (12:50 +0100)
Build kernel module for cs5535 internal audio for target x86 "legacy" also
(so far only for target x86 "geode")

Signed-off-by: Pierre-Emmanuel Frot <piemfrot@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21596
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/x86/modules.mk

index 4199a3f3c50165456c7b4a6cd4b0d36c30b11831..8294c34a41b5b157e3ca5c66603a0106ccdcc807 100644 (file)
@@ -52,7 +52,7 @@ $(eval $(call KernelPackage,f71808e-wdt))
 
 define KernelPackage/sound-cs5535audio
   TITLE:=CS5535/CS5536 Audio Controller
-  DEPENDS:=@TARGET_x86_geode +kmod-ac97
+  DEPENDS:=@(TARGET_x86_geode||TARGET_x86_legacy) +kmod-ac97
   KCONFIG:=CONFIG_SND_CS5535AUDIO
   FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
   AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)