From: Joshua Covington Date: Sun, 9 Aug 2026 14:03:25 +0000 (+0000) Subject: bcm27xx: move bcm27xx-sound package to sound.mk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb566897960ee6b91a435c62e0fccf128daad2a;p=thirdparty%2Fopenwrt.git bcm27xx: move bcm27xx-sound package to sound.mk KernelPackage/bcm27xx-sound lives under SOUND_MENU and provides onboard audio support, but the package definition itself was misplaced in other.mk. Move it to sound.mk alongside the other audio-related kernel packages. No functional change. Signed-off-by: Joshua Covington Link: https://github.com/openwrt/openwrt/pull/24645 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/bcm27xx/modules/other.mk b/target/linux/bcm27xx/modules/other.mk index 47b463c7ac0..acf7cf6bfda 100644 --- a/target/linux/bcm27xx/modules/other.mk +++ b/target/linux/bcm27xx/modules/other.mk @@ -173,19 +173,3 @@ define KernelPackage/bcm27xx-hid/description endef $(eval $(call KernelPackage,bcm27xx-hid)) - - -define KernelPackage/bcm27xx-sound - SUBMENU:=$(SOUND_MENU) - TITLE:=Onboard audio support for bcm27xx boards - DEPENDS:=@TARGET_bcm27xx \ - +kmod-sound-core +kmod-sound-arm-bcm2835 -endef - -define KernelPackage/bcm27xx-sound/description - Pulls in onboard audio support. Not installed by default -- - headless/router deployments don't need it; install this if you - want sound output on this board. -endef - -$(eval $(call KernelPackage,bcm27xx-sound)) diff --git a/target/linux/bcm27xx/modules/sound.mk b/target/linux/bcm27xx/modules/sound.mk index 989828e97ee..f2d0acf9af1 100644 --- a/target/linux/bcm27xx/modules/sound.mk +++ b/target/linux/bcm27xx/modules/sound.mk @@ -1086,3 +1086,19 @@ define KernelPackage/sound-soc-rpi-proto/description endef $(eval $(call KernelPackage,sound-soc-rpi-proto)) + + +define KernelPackage/bcm27xx-sound + SUBMENU:=$(SOUND_MENU) + TITLE:=Onboard audio support for bcm27xx boards + DEPENDS:=@TARGET_bcm27xx \ + +kmod-sound-core +kmod-sound-arm-bcm2835 +endef + +define KernelPackage/bcm27xx-sound/description + Pulls in onboard audio support. Not installed by default -- + headless/router deployments don't need it; install this if you + want sound output on this board. +endef + +$(eval $(call KernelPackage,bcm27xx-sound))