From 047361dee44cab2b2355f7b7859fd688f6483cbc Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Thu, 4 May 2023 22:47:27 +0200 Subject: treewide: cleanup kernel symbol references We only use 5.15 kernel. So remove all those unnecessary symbols referencing 5.10 or 5.15 kernel. Can be found with: git grep -E 'LINUX_5_1(0|5)' Note that we remove the dependency from "sound-soc-chipdip-dac" instead of removing the complete kernel package. The 5.15 version bump forgot to delete the "@LINUX_5_10" dependency. The kernel package is still needed in 5.15 kernel. Signed-off-by: Nick Hainke --- target/linux/bcm27xx/modules/other.mk | 2 +- target/linux/bcm27xx/modules/sound.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/bcm27xx') diff --git a/target/linux/bcm27xx/modules/other.mk b/target/linux/bcm27xx/modules/other.mk index a9103029ed..99b71d4d69 100644 --- a/target/linux/bcm27xx/modules/other.mk +++ b/target/linux/bcm27xx/modules/other.mk @@ -10,7 +10,7 @@ define KernelPackage/pwm-raspberrypi-poe CONFIG_PWM_RASPBERRYPI_POE FILES:=$(LINUX_DIR)/drivers/pwm/pwm-raspberrypi-poe.ko AUTOLOAD:=$(call AutoLoad,20,pwm-raspberrypi-poe) - DEPENDS:=@TARGET_bcm27xx @LINUX_5_15 +kmod-hwmon-pwmfan + DEPENDS:=@TARGET_bcm27xx +kmod-hwmon-pwmfan endef define KernelPackage/pwm-raspberrypi-poe/description diff --git a/target/linux/bcm27xx/modules/sound.mk b/target/linux/bcm27xx/modules/sound.mk index 182d80a2c8..47c0a93879 100644 --- a/target/linux/bcm27xx/modules/sound.mk +++ b/target/linux/bcm27xx/modules/sound.mk @@ -371,8 +371,7 @@ define KernelPackage/sound-soc-chipdip-dac $(LINUX_DIR)/sound/soc/bcm/snd-soc-chipdip-dac.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-chipdip-dac) DEPENDS:= \ - kmod-sound-soc-bcm2835-i2s \ - @LINUX_5_10 + kmod-sound-soc-bcm2835-i2s $(call AddDepends/sound) endef -- cgit v1.2.3