Skip to content

Commit

Permalink
packages: remove remnants of kernels below 6.6
Browse files Browse the repository at this point in the history
Remove remnants of kernels below 6.6.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Link: openwrt/openwrt#16432
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
namiltd authored and robimarko committed Sep 21, 2024
1 parent df12b98 commit e67aa1d
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 113 deletions.
4 changes: 0 additions & 4 deletions include/netfilter.mk
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ $(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, $(P_XT)xt_HL))
# iprange
$(eval $(call nf_add,IPT_IPRANGE,CONFIG_NETFILTER_XT_MATCH_IPRANGE, $(P_XT)xt_iprange))

#clusterip
$(eval $(call nf_add,IPT_CLUSTERIP,CONFIG_IP_NF_TARGET_CLUSTERIP, $(P_V4)ipt_CLUSTERIP))

# ipsec
$(eval $(call nf_add,IPT_IPSEC,CONFIG_IP_NF_MATCH_AH, $(P_V4)ipt_ah))
$(eval $(call nf_add,IPT_IPSEC,CONFIG_NETFILTER_XT_MATCH_ESP, $(P_XT)xt_esp))
Expand Down Expand Up @@ -371,7 +368,6 @@ IPT_BUILTIN += $(IPT_FLOW-y) $(IPT_FLOW-m)
IPT_BUILTIN += $(IPT_IPOPT-y)
IPT_BUILTIN += $(IPT_IPRANGE-y)
IPT_BUILTIN += $(IPT_CLUSTER-y)
IPT_BUILTIN += $(IPT_CLUSTERIP-y)
IPT_BUILTIN += $(IPT_IPSEC-y)
IPT_BUILTIN += $(IPT_IPV6-y) $(IPT_IPV6-m)
IPT_BUILTIN += $(NF_NAT-y)
Expand Down
16 changes: 4 additions & 12 deletions package/kernel/linux/modules/can.mk
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ $(eval $(call KernelPackage,can-c-can-platform))
define KernelPackage/can-flexcan
TITLE:=Support for Freescale FLEXCAN based chips
KCONFIG:=CONFIG_CAN_FLEXCAN
FILES:= \
$(LINUX_DIR)/drivers/net/can/[email protected] \
$(LINUX_DIR)/drivers/net/can/flexcan/[email protected]
FILES:=$(LINUX_DIR)/drivers/net/can/flexcan/flexcan.ko
AUTOLOAD:=$(call AutoProbe,flexcan)
$(call AddDepends/can,@TARGET_imx)
endef
Expand Down Expand Up @@ -185,9 +183,7 @@ $(eval $(call KernelPackage,can-raw))
define KernelPackage/can-slcan
TITLE:=Serial / USB serial CAN Adaptors (slcan)
KCONFIG:=CONFIG_CAN_SLCAN
FILES:= \
$(LINUX_DIR)/drivers/net/can/[email protected] \
$(LINUX_DIR)/drivers/net/can/slcan/[email protected]
FILES:=$(LINUX_DIR)/drivers/net/can/slcan/slcan.ko
AUTOLOAD:=$(call AutoProbe,slcan)
$(call AddDepends/can)
endef
Expand Down Expand Up @@ -235,12 +231,8 @@ $(eval $(call KernelPackage,can-usb-ems))

define KernelPackage/can-usb-esd
TITLE:=ESD USB/2 CAN/USB interface
KCONFIG:= \
[email protected] \
[email protected]
FILES:= \
$(LINUX_DIR)/drivers/net/can/usb/[email protected] \
$(LINUX_DIR)/drivers/net/can/usb/[email protected]
KCONFIG:=CONFIG_CAN_ESD_USB
FILES:=$(LINUX_DIR)/drivers/net/can/usb/esd_usb.ko
AUTOLOAD:=$(call AutoProbe,esd_usb2 esd_usb)
$(call AddDepends/can,+kmod-usb-core)
endef
Expand Down
24 changes: 9 additions & 15 deletions package/kernel/linux/modules/crypto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ define KernelPackage/crypto-aead
TITLE:=CryptoAPI AEAD support
KCONFIG:= \
CONFIG_CRYPTO_AEAD \
CONFIG_CRYPTO_AEAD2 \
[email protected]
FILES:= \
$(LINUX_DIR)/crypto/aead.ko \
$(LINUX_DIR)/crypto/[email protected]
CONFIG_CRYPTO_AEAD2
FILES:=$(LINUX_DIR)/crypto/aead.ko
AUTOLOAD:=$(call AutoLoad,09,aead,1)
$(call AddDepends/crypto, +kmod-crypto-null)
endef
Expand Down Expand Up @@ -243,7 +240,7 @@ $(eval $(call KernelPackage,crypto-ecdh))

define KernelPackage/crypto-echainiv
TITLE:=Encrypted Chain IV Generator
DEPENDS:=+kmod-crypto-aead +LINUX_6_6:kmod-crypto-geniv
DEPENDS:=+kmod-crypto-aead +kmod-crypto-geniv
KCONFIG:=CONFIG_CRYPTO_ECHAINIV
FILES:=$(LINUX_DIR)/crypto/echainiv.ko
AUTOLOAD:=$(call AutoLoad,09,echainiv)
Expand Down Expand Up @@ -305,9 +302,7 @@ define KernelPackage/crypto-gf128
KCONFIG:= \
CONFIG_CRYPTO_GF128MUL \
CONFIG_CRYPTO_LIB_GF128MUL
FILES:= \
$(LINUX_DIR)/crypto/[email protected] \
$(LINUX_DIR)/lib/crypto/[email protected]
FILES:=$(LINUX_DIR)/lib/crypto/gf128mul.ko
AUTOLOAD:=$(call AutoLoad,09,gf128mul)
$(call AddDepends/crypto)
endef
Expand Down Expand Up @@ -863,8 +858,7 @@ define KernelPackage/crypto-rsa
KCONFIG:= CONFIG_CRYPTO_RSA
HIDDEN:=1
FILES:= \
$(LINUX_DIR)/lib/mpi/[email protected] \
$(LINUX_DIR)/lib/crypto/mpi/[email protected] \
$(LINUX_DIR)/lib/crypto/mpi/mpi.ko \
$(LINUX_DIR)/crypto/akcipher.ko \
$(LINUX_DIR)/crypto/rsa_generic.ko
AUTOLOAD:=$(call AutoLoad,10,rsa_generic)
Expand All @@ -888,7 +882,7 @@ $(eval $(call KernelPackage,crypto-rmd160))

define KernelPackage/crypto-rng
TITLE:=CryptoAPI random number generation
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha512 +LINUX_6_6:kmod-crypto-sha3
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha512 +kmod-crypto-sha3
KCONFIG:= \
CONFIG_CRYPTO_DRBG \
CONFIG_CRYPTO_DRBG_HMAC=y \
Expand All @@ -910,7 +904,7 @@ $(eval $(call KernelPackage,crypto-rng))
define KernelPackage/crypto-geniv
TITLE:=CryptoAPI Shared IV generator
HIDDEN:=1
DEPENDS:=+kmod-crypto-rng +kmod-crypto-aead @LINUX_6_6
DEPENDS:=+kmod-crypto-rng +kmod-crypto-aead
KCONFIG:=CONFIG_CRYPTO_GENIV
FILES:=$(LINUX_DIR)/crypto/geniv.ko
AUTOLOAD:=$(call AutoLoad,09,geniv)
Expand All @@ -922,7 +916,7 @@ $(eval $(call KernelPackage,crypto-geniv))

define KernelPackage/crypto-seqiv
TITLE:=CryptoAPI Sequence Number IV Generator
DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng +LINUX_6_6:kmod-crypto-geniv
DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng +kmod-crypto-geniv
KCONFIG:=CONFIG_CRYPTO_SEQIV
FILES:=$(LINUX_DIR)/crypto/seqiv.ko
AUTOLOAD:=$(call AutoLoad,09,seqiv)
Expand Down Expand Up @@ -1137,7 +1131,7 @@ $(eval $(call KernelPackage,crypto-test))

define KernelPackage/crypto-user
TITLE:=CryptoAPI userspace interface
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager +LINUX_6_6:kmod-crypto-rng
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager +kmod-crypto-rng
KCONFIG:= \
CONFIG_CRYPTO_USER \
CONFIG_CRYPTO_USER_API \
Expand Down
10 changes: 5 additions & 5 deletions package/kernel/linux/modules/fs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ define KernelPackage/fs-smbfs-common
SUBMENU:=$(FS_MENU)
TITLE:=SMBFS common dependencies support
HIDDEN:=1
DEPENDS:=+LINUX_6_6:kmod-fs-netfs +LINUX_6_6:kmod-nls-ucs2-utils
DEPENDS:=+kmod-fs-netfs +kmod-nls-ucs2-utils
KCONFIG:=\
CONFIG_SMBFS
FILES:= \
Expand Down Expand Up @@ -272,8 +272,8 @@ define KernelPackage/fs-fscache
CONFIG_CACHEFILES \
CONFIG_CACHEFILES_DEBUG=n \
CONFIG_CACHEFILES_HISTOGRAM=n \
CONFIG_CACHEFILES_ERROR_INJECTION=n@ge5.17 \
CONFIG_CACHEFILES_ONDEMAND=n@ge5.19
CONFIG_CACHEFILES_ERROR_INJECTION=n \
CONFIG_CACHEFILES_ONDEMAND=n
FILES:= \
$(LINUX_DIR)/fs/fscache/fscache.ko \
$(LINUX_DIR)/fs/cachefiles/cachefiles.ko
Expand Down Expand Up @@ -340,7 +340,7 @@ define KernelPackage/fs-jfs
KCONFIG:=CONFIG_JFS_FS
FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
AUTOLOAD:=$(call AutoLoad,30,jfs,1)
DEPENDS:=+LINUX_6_6:kmod-nls-ucs2-utils
DEPENDS:=+kmod-nls-ucs2-utils
$(call AddDepends/nls)
endef

Expand Down Expand Up @@ -708,7 +708,7 @@ define KernelPackage/pstore
CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
AUTOLOAD:=$(call AutoLoad,30,pstore,1)
DEPENDS:=+LINUX_6_6:kmod-lib-zlib-deflate +LINUX_6_6:kmod-lib-zlib-inflate
DEPENDS:=+kmod-lib-zlib-deflate +kmod-lib-zlib-inflate
endef

define KernelPackage/pstore/description
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/hwmon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define KernelPackage/hwmon-ad7418
KCONFIG:=CONFIG_SENSORS_AD7418
FILES:=$(LINUX_DIR)/drivers/hwmon/ad7418.ko
AUTOLOAD:=$(call AutoLoad,60,ad7418 ad7418)
$(call AddDepends/hwmon,+kmod-i2c-core +LINUX_6_6:kmod-regmap-core)
$(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-core)
endef

define KernelPackage/hwmon-ad7418/description
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/iio.mk
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ $(eval $(call KernelPackage,iio-st_accel-spi))


define KernelPackage/iio-lsm6dsx
DEPENDS:=+kmod-iio-kfifo-buf +kmod-regmap-core +LINUX_6_6:kmod-industrialio-triggered-buffer
DEPENDS:=+kmod-iio-kfifo-buf +kmod-regmap-core +kmod-industrialio-triggered-buffer
TITLE:=ST LSM6DSx driver for IMU MEMS sensors
KCONFIG:=CONFIG_IIO_ST_LSM6DSX
FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.ko
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/input.mk
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ $(eval $(call KernelPackage,input-touchscreen-ads7846))
define KernelPackage/input-touchscreen-edt-ft5x06
SUBMENU:=$(INPUT_MODULES_MENU)
TITLE:=EDT FT5x06 and Focaltech FT6236 based touchscreens
DEPENDS:=+kmod-i2c-core +kmod-input-core +LINUX_6_6:kmod-regmap-i2c
DEPENDS:=+kmod-i2c-core +kmod-input-core +kmod-regmap-i2c
KCONFIG:= \
CONFIG_INPUT_TOUCHSCREEN=y \
CONFIG_TOUCHSCREEN_EDT_FT5X06
Expand Down
10 changes: 5 additions & 5 deletions package/kernel/linux/modules/netdevices.mk
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ define KernelPackage/phy-smsc
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=SMSC PHY driver
KCONFIG:=CONFIG_SMSC_PHY
DEPENDS:=+kmod-libphy +LINUX_6_6:kmod-lib-crc16
DEPENDS:=+kmod-libphy +kmod-lib-crc16
FILES:=$(LINUX_DIR)/drivers/net/phy/smsc.ko
AUTOLOAD:=$(call AutoProbe,smsc)
endef
Expand Down Expand Up @@ -779,7 +779,7 @@ define KernelPackage/r8169
DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +kmod-phy-realtek +kmod-mdio-devres
KCONFIG:= \
CONFIG_R8169 \
CONFIG_R8169_LEDS=y@ge6.6
CONFIG_R8169_LEDS=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
AUTOLOAD:=$(call AutoProbe,r8169)
endef
Expand Down Expand Up @@ -1393,7 +1393,7 @@ $(eval $(call KernelPackage,mlx4-core))
define KernelPackage/mlx5-core
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Mellanox ConnectX(R) mlx5 core Network Driver
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mlxfw +LINUX_6_6:kmod-hwmon-core
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mlxfw +kmod-hwmon-core
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
KCONFIG:= CONFIG_MLX5_CORE \
CONFIG_MLX5_CORE_EN=y \
Expand Down Expand Up @@ -1674,7 +1674,7 @@ define KernelPackage/wwan
TITLE:=WWAN Driver Core
KCONFIG:= \
CONFIG_WWAN \
CONFIG_WWAN_DEBUGFS=y@ge5.17
CONFIG_WWAN_DEBUGFS=y
FILES:=$(LINUX_DIR)/drivers/net/wwan/wwan.ko
AUTOLOAD:=$(call AutoProbe,wwan)
endef
Expand Down Expand Up @@ -1769,7 +1769,7 @@ $(eval $(call KernelPackage,atlantic))
define KernelPackage/lan743x
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Microchip LAN743x PCI Express Gigabit Ethernet NIC
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mdio-devres +!LINUX_6_1:kmod-fixed-phy
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mdio-devres +kmod-fixed-phy
KCONFIG:=CONFIG_LAN743X
FILES:=$(LINUX_DIR)/drivers/net/ethernet/microchip/lan743x.ko
AUTOLOAD:=$(call AutoProbe,lan743x)
Expand Down
27 changes: 1 addition & 26 deletions package/kernel/linux/modules/netfilter.mk
Original file line number Diff line number Diff line change
Expand Up @@ -818,27 +818,6 @@ endef

$(eval $(call KernelPackage,ipt-cluster))

define KernelPackage/ipt-clusterip
TITLE:=Module for CLUSTERIP
KCONFIG:=$(KCONFIG_IPT_CLUSTERIP)
FILES:=$(foreach mod,$(IPT_CLUSTERIP-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CLUSTERIP-m)))
$(call AddDepends/ipt,+kmod-nf-conntrack @LINUX_6_1)
endef

define KernelPackage/ipt-clusterip/description
Netfilter (IPv4-only) module for CLUSTERIP
The CLUSTERIP target allows you to build load-balancing clusters of
network servers without having a dedicated load-balancing
router/server/switch.

To use it also enable iptables-mod-clusterip

see `iptables -j CLUSTERIP --help` for more information.
endef

$(eval $(call KernelPackage,ipt-clusterip))


define KernelPackage/ipt-extra
TITLE:=Extra modules
Expand Down Expand Up @@ -1197,15 +1176,11 @@ define KernelPackage/nft-offload
DEPENDS:=@IPV6 +kmod-nf-flow +kmod-nft-nat
KCONFIG:= \
CONFIG_NF_FLOW_TABLE_INET \
[email protected] \
[email protected] \
CONFIG_NFT_FLOW_OFFLOAD
FILES:= \
$(LINUX_DIR)/net/netfilter/nf_flow_table_inet.ko \
$(LINUX_DIR)/net/ipv4/netfilter/[email protected] \
$(LINUX_DIR)/net/ipv6/netfilter/[email protected] \
$(LINUX_DIR)/net/netfilter/nft_flow_offload.ko
AUTOLOAD:=$(call AutoProbe,nf_flow_table_inet [email protected] [email protected] nft_flow_offload)
AUTOLOAD:=$(call AutoProbe,nf_flow_table_inet nft_flow_offload)
endef

$(eval $(call KernelPackage,nft-offload))
Expand Down
5 changes: 2 additions & 3 deletions package/kernel/linux/modules/netsupport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,6 @@ $(eval $(call KernelPackage,sched-ipset))
define KernelPackage/sched-mqprio-common
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=mqprio queue common dependencies support
DEPENDS:=@LINUX_6_6
HIDDEN:=1
KCONFIG:=CONFIG_NET_SCH_MQPRIO_LIB
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio_lib.ko
Expand All @@ -926,7 +925,7 @@ $(eval $(call KernelPackage,sched-mqprio-common))
define KernelPackage/sched-mqprio
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Multi-queue priority scheduler (MQPRIO)
DEPENDS:=+kmod-sched-core +LINUX_6_6:kmod-sched-mqprio-common
DEPENDS:=+kmod-sched-core +kmod-sched-mqprio-common
KCONFIG:=CONFIG_NET_SCH_MQPRIO
FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko
AUTOLOAD:=$(call AutoProbe, sch_mqprio)
Expand Down Expand Up @@ -1361,7 +1360,7 @@ define KernelPackage/9pnet
KCONFIG:= \
CONFIG_NET_9P \
CONFIG_NET_9P_DEBUG=n \
CONFIG_NET_9P_FD=n@ge5.17
CONFIG_NET_9P_FD=n
FILES:= \
$(LINUX_DIR)/net/9p/9pnet.ko
AUTOLOAD:=$(call AutoLoad,29,9pnet)
Expand Down
1 change: 0 additions & 1 deletion package/kernel/linux/modules/nls.mk
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ $(eval $(call KernelPackage,nls-utf8))
define KernelPackage/nls-ucs2-utils
SUBMENU:=Native Language Support
TITLE:=UCS-2 common library
DEPENDS+=@LINUX_6_6
HIDDEN:=1
KCONFIG:=CONFIG_NLS_UCS2_UTILS
FILES:=$(LINUX_DIR)/fs/nls/nls_ucs2_utils.ko
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/other.mk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define KernelPackage/bluetooth
$(LINUX_DIR)/drivers/bluetooth/btusb.ko \
$(LINUX_DIR)/drivers/bluetooth/btintel.ko \
$(LINUX_DIR)/drivers/bluetooth/btrtl.ko \
$(LINUX_DIR)/drivers/bluetooth/btmtk.ko@ge5.17
$(LINUX_DIR)/drivers/bluetooth/btmtk.ko
AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
endef

Expand Down
3 changes: 1 addition & 2 deletions package/kernel/linux/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ define KernelPackage/usb-serial-ch348
KCONFIG:=CONFIG_USB_SERIAL_CH348
FILES:=$(LINUX_DIR)/drivers/usb/serial/ch348.ko
AUTOLOAD:=$(call AutoProbe,ch348)
DEPENDS:=@LINUX_6_6
$(call AddDepends/usb-serial)
endef

Expand Down Expand Up @@ -1621,7 +1620,7 @@ define KernelPackage/usb-hid-mcp2221
SUBMENU:=$(USB_MENU)
TITLE:=Microchip USB 2.0 to I2C/UART Protocol Converter with GPIO
KCONFIG:=CONFIG_HID_MCP2221
DEPENDS:=@GPIO_SUPPORT +kmod-usb-hid +kmod-i2c-core +LINUX_6_6:kmod-iio-core
DEPENDS:=@GPIO_SUPPORT +kmod-usb-hid +kmod-i2c-core +kmod-iio-core
FILES:=$(LINUX_DIR)/drivers/hid/hid-mcp2221.ko
AUTOLOAD:=$(call AutoProbe,hid-mcp2221)
endef
Expand Down
Loading

0 comments on commit e67aa1d

Please sign in to comment.