packages: remove kernel 5.15 remnants

Remove kernel 5.15 remnants.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16417
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Mieczyslaw Nalewaj 2024-09-18 10:48:03 +02:00 committed by Robert Marko
parent 82a5971688
commit 1a728cfc1a
11 changed files with 26 additions and 36 deletions

View File

@ -10,7 +10,7 @@ FS_MENU:=Filesystems
define KernelPackage/fs-9p define KernelPackage/fs-9p
SUBMENU:=$(FS_MENU) SUBMENU:=$(FS_MENU)
TITLE:=Plan 9 Resource Sharing Support TITLE:=Plan 9 Resource Sharing Support
DEPENDS:=+kmod-9pnet +LINUX_6_1:kmod-fs-netfs +LINUX_6_6:kmod-fs-netfs DEPENDS:=+kmod-9pnet +kmod-fs-netfs
KCONFIG:=\ KCONFIG:=\
CONFIG_9P_FS \ CONFIG_9P_FS \
CONFIG_9P_FS_POSIX_ACL=n \ CONFIG_9P_FS_POSIX_ACL=n \
@ -89,13 +89,10 @@ define KernelPackage/fs-smbfs-common
HIDDEN:=1 HIDDEN:=1
DEPENDS:=+LINUX_6_6:kmod-fs-netfs +LINUX_6_6:kmod-nls-ucs2-utils DEPENDS:=+LINUX_6_6:kmod-fs-netfs +LINUX_6_6:kmod-nls-ucs2-utils
KCONFIG:=\ KCONFIG:=\
CONFIG_SMBFS_COMMON@lt6.1 \ CONFIG_SMBFS
CONFIG_SMBFS@ge6.1
FILES:= \ FILES:= \
$(LINUX_DIR)/fs/smbfs_common/cifs_arc4.ko@lt6.1 \ $(LINUX_DIR)/fs/smb/common/cifs_arc4.ko \
$(LINUX_DIR)/fs/smbfs_common/cifs_md4.ko@lt6.1 \ $(LINUX_DIR)/fs/smb/common/cifs_md4.ko
$(LINUX_DIR)/fs/smb/common/cifs_arc4.ko@ge6.1 \
$(LINUX_DIR)/fs/smb/common/cifs_md4.ko@ge6.1
endef endef
define KernelPackage/fs-smbfs-common/description define KernelPackage/fs-smbfs-common/description
@ -113,8 +110,7 @@ define KernelPackage/fs-cifs
CONFIG_CIFS_DFS_UPCALL=n \ CONFIG_CIFS_DFS_UPCALL=n \
CONFIG_CIFS_UPCALL=n CONFIG_CIFS_UPCALL=n
FILES:= \ FILES:= \
$(LINUX_DIR)/fs/cifs/cifs.ko@lt6.1 \ $(LINUX_DIR)/fs/smb/client/cifs.ko
$(LINUX_DIR)/fs/smb/client/cifs.ko@ge6.1
AUTOLOAD:=$(call AutoLoad,30,cifs) AUTOLOAD:=$(call AutoLoad,30,cifs)
$(call AddDepends/nls) $(call AddDepends/nls)
DEPENDS+= \ DEPENDS+= \
@ -380,8 +376,7 @@ define KernelPackage/fs-ksmbd
CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \ CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
CONFIG_SMB_SERVER_KERBEROS5=n CONFIG_SMB_SERVER_KERBEROS5=n
FILES:= \ FILES:= \
$(LINUX_DIR)/fs/ksmbd/ksmbd.ko@lt6.1 \ $(LINUX_DIR)/fs/smb/server/ksmbd.ko
$(LINUX_DIR)/fs/smb/server/ksmbd.ko@ge6.1
AUTOLOAD:=$(call AutoLoad,41,ksmbd) AUTOLOAD:=$(call AutoLoad,41,ksmbd)
endef endef

View File

@ -52,7 +52,7 @@ define KernelPackage/hwmon-adt7410
$(LINUX_DIR)/drivers/hwmon/adt7x10.ko \ $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
$(LINUX_DIR)/drivers/hwmon/adt7410.ko $(LINUX_DIR)/drivers/hwmon/adt7410.ko
AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410) AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
$(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_5_15:kmod-regmap-core) $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-core)
endef endef
define KernelPackage/hwmon-adt7410/description define KernelPackage/hwmon-adt7410/description
@ -130,7 +130,7 @@ define KernelPackage/hwmon-emc2305
KCONFIG:=CONFIG_SENSORS_EMC2305 KCONFIG:=CONFIG_SENSORS_EMC2305
FILES:=$(LINUX_DIR)/drivers/hwmon/emc2305.ko FILES:=$(LINUX_DIR)/drivers/hwmon/emc2305.ko
AUTOLOAD:=$(call AutoProbe,emc2305) AUTOLOAD:=$(call AutoProbe,emc2305)
$(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c @LINUX_6_1||LINUX_6_6) $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
endef endef
define KernelPackage/hwmon-emc2305/description define KernelPackage/hwmon-emc2305/description

View File

@ -143,7 +143,7 @@ define KernelPackage/lib-zstd
CONFIG_ZSTD_DECOMPRESS CONFIG_ZSTD_DECOMPRESS
FILES:= \ FILES:= \
$(LINUX_DIR)/crypto/zstd.ko \ $(LINUX_DIR)/crypto/zstd.ko \
$(LINUX_DIR)/lib/zstd/zstd_common.ko@ge6.1 \ $(LINUX_DIR)/lib/zstd/zstd_common.ko \
$(LINUX_DIR)/lib/zstd/zstd_compress.ko \ $(LINUX_DIR)/lib/zstd/zstd_compress.ko \
$(LINUX_DIR)/lib/zstd/zstd_decompress.ko $(LINUX_DIR)/lib/zstd/zstd_decompress.ko
AUTOLOAD:=$(call AutoProbe,zstd zstd_compress zstd_decompress) AUTOLOAD:=$(call AutoProbe,zstd zstd_compress zstd_decompress)

View File

@ -378,7 +378,7 @@ $(eval $(call KernelPackage,phy-smsc))
define KernelPackage/phy-airoha-en8811h define KernelPackage/phy-airoha-en8811h
SUBMENU:=$(NETWORK_DEVICES_MENU) SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Airoha EN8811H 2.5G Ethernet PHY TITLE:=Airoha EN8811H 2.5G Ethernet PHY
DEPENDS:=+airoha-en8811h-firmware +kmod-libphy @!LINUX_5_15 DEPENDS:=+airoha-en8811h-firmware +kmod-libphy
KCONFIG:=CONFIG_AIR_EN8811H_PHY KCONFIG:=CONFIG_AIR_EN8811H_PHY
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/net/phy/air_en8811h.ko $(LINUX_DIR)/drivers/net/phy/air_en8811h.ko
@ -1737,7 +1737,7 @@ $(eval $(call KernelPackage,mhi-wwan-mbim))
define KernelPackage/mtk-t7xx define KernelPackage/mtk-t7xx
SUBMENU:=$(NETWORK_DEVICES_MENU) SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=MediaTek T7xx 5G modem TITLE:=MediaTek T7xx 5G modem
DEPENDS:=@!LINUX_5_15 @PCI_SUPPORT +kmod-wwan DEPENDS:=@PCI_SUPPORT +kmod-wwan
KCONFIG:=CONFIG_MTK_T7XX KCONFIG:=CONFIG_MTK_T7XX
FILES:=$(LINUX_DIR)/drivers/net/wwan/t7xx/mtk_t7xx.ko FILES:=$(LINUX_DIR)/drivers/net/wwan/t7xx/mtk_t7xx.ko
AUTOLOAD:=$(call AutoProbe,mtk_t7xx) AUTOLOAD:=$(call AutoProbe,mtk_t7xx)

View File

@ -823,7 +823,7 @@ define KernelPackage/ipt-clusterip
KCONFIG:=$(KCONFIG_IPT_CLUSTERIP) KCONFIG:=$(KCONFIG_IPT_CLUSTERIP)
FILES:=$(foreach mod,$(IPT_CLUSTERIP-m),$(LINUX_DIR)/net/$(mod).ko) FILES:=$(foreach mod,$(IPT_CLUSTERIP-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CLUSTERIP-m))) AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CLUSTERIP-m)))
$(call AddDepends/ipt,+kmod-nf-conntrack @LINUX_5_15||LINUX_6_1) $(call AddDepends/ipt,+kmod-nf-conntrack @LINUX_6_1)
endef endef
define KernelPackage/ipt-clusterip/description define KernelPackage/ipt-clusterip/description

View File

@ -597,7 +597,7 @@ define KernelPackage/mtdtests
$(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
$(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
$(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \ $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
$(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko@ge6.1 \ $(LINUX_DIR)/drivers/mtd/tests/mtd_test.ko \
$(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
endef endef

View File

@ -1200,7 +1200,7 @@ define KernelPackage/usb-net-asix
TITLE:=Kernel module for USB-to-Ethernet Asix convertors TITLE:=Kernel module for USB-to-Ethernet Asix convertors
DEPENDS:= \ DEPENDS:= \
+kmod-libphy +kmod-net-selftests +kmod-mdio-devres +kmod-phy-ax88796b \ +kmod-libphy +kmod-net-selftests +kmod-mdio-devres +kmod-phy-ax88796b \
+LINUX_6_1:kmod-phylink +LINUX_6_6:kmod-phylink +kmod-phylink
KCONFIG:=CONFIG_USB_NET_AX8817X KCONFIG:=CONFIG_USB_NET_AX8817X
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
AUTOLOAD:=$(call AutoProbe,asix) AUTOLOAD:=$(call AutoProbe,asix)
@ -1328,7 +1328,7 @@ $(eval $(call KernelPackage,usb-net-smsc75xx))
define KernelPackage/usb-net-smsc95xx define KernelPackage/usb-net-smsc95xx
TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
DEPENDS:=+kmod-libphy +kmod-phy-smsc +!LINUX_5_15:kmod-net-selftests DEPENDS:=+kmod-libphy +kmod-phy-smsc +kmod-net-selftests
KCONFIG:=CONFIG_USB_NET_SMSC95XX KCONFIG:=CONFIG_USB_NET_SMSC95XX
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
AUTOLOAD:=$(call AutoProbe,smsc95xx) AUTOLOAD:=$(call AutoProbe,smsc95xx)

View File

@ -268,7 +268,7 @@ $(eval $(call KernelPackage,drm))
define KernelPackage/drm-buddy define KernelPackage/drm-buddy
SUBMENU:=$(VIDEO_MENU) SUBMENU:=$(VIDEO_MENU)
TITLE:=A page based buddy allocator TITLE:=A page based buddy allocator
DEPENDS:=@DISPLAY_SUPPORT +kmod-drm @LINUX_6_1||LINUX_6_6 DEPENDS:=@DISPLAY_SUPPORT +kmod-drm
KCONFIG:=CONFIG_DRM_BUDDY KCONFIG:=CONFIG_DRM_BUDDY
FILES:= $(LINUX_DIR)/drivers/gpu/drm/drm_buddy.ko FILES:= $(LINUX_DIR)/drivers/gpu/drm/drm_buddy.ko
AUTOLOAD:=$(call AutoProbe,drm_buddy) AUTOLOAD:=$(call AutoProbe,drm_buddy)
@ -283,7 +283,7 @@ $(eval $(call KernelPackage,drm-buddy))
define KernelPackage/drm-display-helper define KernelPackage/drm-display-helper
SUBMENU:=$(VIDEO_MENU) SUBMENU:=$(VIDEO_MENU)
TITLE:=DRM helpers for display adapters drivers TITLE:=DRM helpers for display adapters drivers
DEPENDS:=@DISPLAY_SUPPORT +kmod-drm-kms-helper @LINUX_6_1||LINUX_6_6 DEPENDS:=@DISPLAY_SUPPORT +kmod-drm-kms-helper
KCONFIG:=CONFIG_DRM_DISPLAY_HELPER KCONFIG:=CONFIG_DRM_DISPLAY_HELPER
FILES:=$(LINUX_DIR)/drivers/gpu/drm/display/drm_display_helper.ko FILES:=$(LINUX_DIR)/drivers/gpu/drm/display/drm_display_helper.ko
AUTOLOAD:=$(call AutoProbe,drm_display_helper) AUTOLOAD:=$(call AutoProbe,drm_display_helper)
@ -428,7 +428,7 @@ define KernelPackage/drm-imx
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/gpu/drm/imx/imxdrm.ko@lt6.6 \ $(LINUX_DIR)/drivers/gpu/drm/imx/imxdrm.ko@lt6.6 \
$(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imxdrm.ko@ge6.6 \ $(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imxdrm.ko@ge6.6 \
$(LINUX_DIR)/drivers/gpu/drm/drm_dma_helper.ko@ge6.1 \ $(LINUX_DIR)/drivers/gpu/drm/drm_dma_helper.ko \
$(LINUX_DIR)/drivers/gpu/ipu-v3/imx-ipu-v3.ko $(LINUX_DIR)/drivers/gpu/ipu-v3/imx-ipu-v3.ko
AUTOLOAD:=$(call AutoLoad,08,imxdrm imx-ipu-v3 imx-ipuv3-crtc) AUTOLOAD:=$(call AutoLoad,08,imxdrm imx-ipu-v3 imx-ipuv3-crtc)
endef endef
@ -476,8 +476,7 @@ define KernelPackage/drm-imx-ldb
CONFIG_DRM_PANEL_SITRONIX_ST7789V=n CONFIG_DRM_PANEL_SITRONIX_ST7789V=n
FILES:=$(LINUX_DIR)/drivers/gpu/drm/imx/imx-ldb.ko@lt6.6 \ FILES:=$(LINUX_DIR)/drivers/gpu/drm/imx/imx-ldb.ko@lt6.6 \
$(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imx-ldb.ko@ge6.6 \ $(LINUX_DIR)/drivers/gpu/drm/imx/ipuv3/imx-ldb.ko@ge6.6 \
$(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko \ $(LINUX_DIR)/drivers/gpu/drm/panel/panel-simple.ko
$(LINUX_DIR)/drivers/gpu/drm/drm_dp_aux_bus.ko@lt6.1
AUTOLOAD:=$(call AutoLoad,08,imx-ldb) AUTOLOAD:=$(call AutoLoad,08,imx-ldb)
endef endef
@ -517,7 +516,7 @@ define KernelPackage/video-core
CONFIG_MEDIA_CAMERA_SUPPORT=y \ CONFIG_MEDIA_CAMERA_SUPPORT=y \
CONFIG_VIDEO_DEV \ CONFIG_VIDEO_DEV \
CONFIG_V4L_PLATFORM_DRIVERS=y \ CONFIG_V4L_PLATFORM_DRIVERS=y \
CONFIG_MEDIA_PLATFORM_DRIVERS=y@ge6.1 CONFIG_MEDIA_PLATFORM_DRIVERS=y
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
AUTOLOAD:=$(call AutoLoad,60,videodev) AUTOLOAD:=$(call AutoLoad,60,videodev)
@ -572,7 +571,7 @@ $(eval $(call KernelPackage,video-videobuf2))
define KernelPackage/video-cpia2 define KernelPackage/video-cpia2
TITLE:=CPIA2 video driver TITLE:=CPIA2 video driver
DEPENDS:=@USB_SUPPORT +kmod-usb-core @LINUX_5_15 DEPENDS:=@USB_SUPPORT
KCONFIG:=CONFIG_VIDEO_CPIA2 KCONFIG:=CONFIG_VIDEO_CPIA2
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko
AUTOLOAD:=$(call AutoProbe,cpia2) AUTOLOAD:=$(call AutoProbe,cpia2)
@ -1234,10 +1233,8 @@ define KernelPackage/video-coda
CONFIG_VIDEO_CODA \ CONFIG_VIDEO_CODA \
CONFIG_VIDEO_IMX_VDOA CONFIG_VIDEO_IMX_VDOA
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/coda-vpu.ko@lt6.1 \ $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/coda-vpu.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/coda-vpu.ko@ge6.1 \ $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/imx-vdoa.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/imx-vdoa.ko@lt6.1 \
$(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/imx-vdoa.ko@ge6.1 \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-jpeg.ko $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-jpeg.ko
AUTOLOAD:=$(call AutoProbe,coda-vpu imx-vdoa v4l2-jpeg) AUTOLOAD:=$(call AutoProbe,coda-vpu imx-vdoa v4l2-jpeg)
$(call AddDepends/video) $(call AddDepends/video)
@ -1253,8 +1250,7 @@ define KernelPackage/video-pxp
TITLE:=i.MX PXP support TITLE:=i.MX PXP support
DEPENDS:=@TARGET_imx +kmod-video-mem2mem +kmod-video-dma-contig DEPENDS:=@TARGET_imx +kmod-video-mem2mem +kmod-video-dma-contig
KCONFIG:= CONFIG_VIDEO_IMX_PXP KCONFIG:= CONFIG_VIDEO_IMX_PXP
FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/imx-pxp.ko@lt6.1 \ FILES:= $(LINUX_DIR)/drivers/media/platform/nxp/imx-pxp.ko
$(LINUX_DIR)/drivers/media/platform/nxp/imx-pxp.ko@ge6.1
AUTOLOAD:=$(call AutoProbe,imx-pxp) AUTOLOAD:=$(call AutoProbe,imx-pxp)
$(call AddDepends/video) $(call AddDepends/video)
endef endef

View File

@ -296,7 +296,7 @@ define KernelPackage/ath11k
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
TITLE:=Qualcomm 802.11ax wireless chipset support (common code) TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT @!LINUX_5_15 \ DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
+kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal +kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core +ATH11K_THERMAL:kmod-thermal
FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \ FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko \
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko

View File

@ -6,7 +6,7 @@ config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
define KernelPackage/iwlwifi define KernelPackage/iwlwifi
$(call KernelPackage/mac80211/Default) $(call KernelPackage/mac80211/Default)
DEPENDS:= +kmod-mac80211 +kmod-ptp @PCI_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT @!LINUX_5_15 DEPENDS:= +kmod-mac80211 +kmod-ptp @PCI_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT
TITLE:=Intel AGN Wireless support TITLE:=Intel AGN Wireless support
FILES:= \ FILES:= \
$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \

View File

@ -16,7 +16,6 @@ define Package/fitblk
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
TITLE:=fitblk firmware release tool TITLE:=fitblk firmware release tool
DEPENDS:=@!LINUX_5_15
endef endef
define Package/fitblk/description define Package/fitblk/description