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 <vincent@systemli.org>
This commit is contained in:
committed by
Christian Marangi
parent
d798617d4a
commit
047361dee4
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -5,11 +5,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/image.mk
|
||||
|
||||
ifdef CONFIG_LINUX_5_10
|
||||
KERNEL_LOADADDR := 0x80400000
|
||||
else
|
||||
KERNEL_LOADADDR := 0x80100000
|
||||
endif
|
||||
KERNEL_LOADADDR := 0x80100000
|
||||
|
||||
define Device/Default
|
||||
PROFILES := Default
|
||||
|
||||
@@ -22,7 +22,7 @@ $(eval $(call KernelPackage,amazon-ena))
|
||||
define KernelPackage/amd-xgbe
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=AMD Ethernet on SoC support
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +(LINUX_5_10||LINUX_5_15):kmod-mdio-devres
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +kmod-mdio-devres
|
||||
KCONFIG:=CONFIG_AMD_XGBE
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
|
||||
AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
|
||||
|
||||
Reference in New Issue
Block a user