kernel: remove kernel module checks/dependencies for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45377
This commit is contained in:
parent
f4af7fe134
commit
e8126cbfbd
9 changed files with 26 additions and 44 deletions
|
@ -319,12 +319,12 @@ define KernelPackage/fs-nfs-common
|
|||
KCONFIG:= \
|
||||
CONFIG_LOCKD \
|
||||
CONFIG_SUNRPC \
|
||||
CONFIG_GRACE_PERIOD@ge3.18
|
||||
CONFIG_GRACE_PERIOD
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/fs/lockd/lockd.ko \
|
||||
$(LINUX_DIR)/net/sunrpc/sunrpc.ko \
|
||||
$(LINUX_DIR)/fs/nfs_common/grace.ko@ge3.18
|
||||
AUTOLOAD:=$(call AutoLoad,30,grace@ge3.18 sunrpc lockd)
|
||||
$(LINUX_DIR)/fs/nfs_common/grace.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-nfs-common))
|
||||
|
|
|
@ -290,7 +290,6 @@ define KernelPackage/hwmon-pwmfan
|
|||
FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
|
||||
$(call AddDepends/hwmon,)
|
||||
DEPENDS+=@!LINUX_3_14
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-pwmfan/description
|
||||
|
|
|
@ -119,7 +119,6 @@ $(eval $(call KernelPackage,lib-lzo))
|
|||
|
||||
define KernelPackage/lib-lz4
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
DEPENDS:=@!LINUX_3_14
|
||||
TITLE:=LZ4 support
|
||||
KCONFIG:= \
|
||||
CONFIG_LZ4_COMPRESS \
|
||||
|
|
|
@ -115,8 +115,7 @@ define KernelPackage/et131x
|
|||
TITLE:=Agere ET131x Gigabit Ethernet driver
|
||||
URL:=http://sourceforge.net/projects/et131x
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/et131x/et131x.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko@ge3.18
|
||||
$(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko
|
||||
KCONFIG:= \
|
||||
CONFIG_ET131X \
|
||||
CONFIG_ET131X_DEBUG=n
|
||||
|
|
|
@ -229,11 +229,11 @@ IPSET_MODULES:= \
|
|||
ipset/ip_set_bitmap_ipmac \
|
||||
ipset/ip_set_bitmap_port \
|
||||
ipset/ip_set_hash_ip \
|
||||
ipset/ip_set_hash_ipmark@ge3.18 \
|
||||
ipset/ip_set_hash_ipmark \
|
||||
ipset/ip_set_hash_ipport \
|
||||
ipset/ip_set_hash_ipportip \
|
||||
ipset/ip_set_hash_ipportnet \
|
||||
ipset/ip_set_hash_mac@ge3.18 \
|
||||
ipset/ip_set_hash_mac \
|
||||
ipset/ip_set_hash_netportnet \
|
||||
ipset/ip_set_hash_net \
|
||||
ipset/ip_set_hash_netnet \
|
||||
|
|
|
@ -148,7 +148,6 @@ $(eval $(call KernelPackage,8021q))
|
|||
define KernelPackage/udptunnel4
|
||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||
TITLE:=IPv4 UDP tunneling support
|
||||
DEPENDS:=@!LINUX_3_14
|
||||
KCONFIG:=CONFIG_NET_UDP_TUNNEL
|
||||
FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko
|
||||
AUTOLOAD:=$(call AutoLoad,32,udp_tunnel)
|
||||
|
@ -160,7 +159,6 @@ $(eval $(call KernelPackage,udptunnel4))
|
|||
define KernelPackage/udptunnel6
|
||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||
TITLE:=IPv6 UDP tunneling support
|
||||
DEPENDS:=@!LINUX_3_14
|
||||
KCONFIG:=CONFIG_NET_UDP_TUNNEL
|
||||
FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
|
||||
AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
|
||||
|
@ -174,8 +172,8 @@ define KernelPackage/vxlan
|
|||
TITLE:=Native VXLAN Kernel support
|
||||
DEPENDS:= \
|
||||
+kmod-iptunnel \
|
||||
+!LINUX_3_14:kmod-udptunnel4 \
|
||||
+(!LINUX_3_14&&IPV6):kmod-udptunnel6
|
||||
+kmod-udptunnel4 \
|
||||
+IPV6:kmod-udptunnel6
|
||||
KCONFIG:=CONFIG_VXLAN
|
||||
FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
|
||||
AUTOLOAD:=$(call AutoLoad,13,vxlan)
|
||||
|
@ -863,8 +861,8 @@ define KernelPackage/l2tp
|
|||
TITLE:=Layer Two Tunneling Protocol (L2TP)
|
||||
DEPENDS:= \
|
||||
+IPV6:kmod-ipv6 \
|
||||
+!LINUX_3_14:kmod-udptunnel4 \
|
||||
+(!LINUX_3_14&&IPV6):kmod-udptunnel6
|
||||
+kmod-udptunnel4 \
|
||||
+IPV6:kmod-udptunnel6
|
||||
KCONFIG:=CONFIG_L2TP \
|
||||
CONFIG_L2TP_V3=y \
|
||||
CONFIG_L2TP_DEBUGFS=n
|
||||
|
|
|
@ -70,7 +70,7 @@ $(eval $(call KernelPackage,bluetooth))
|
|||
define KernelPackage/bluetooth_6lowpan
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Bluetooth 6LoWPAN support
|
||||
DEPENDS:=+kmod-bluetooth @!LINUX_3_14
|
||||
DEPENDS:=+kmod-bluetooth
|
||||
KCONFIG:= \
|
||||
CONFIG_6LOWPAN=m \
|
||||
CONFIG_BT_6LOWPAN=m
|
||||
|
@ -739,7 +739,7 @@ $(eval $(call KernelPackage,ikconfig))
|
|||
define KernelPackage/zram
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=ZRAM
|
||||
DEPENDS:=+kmod-lib-lzo +!LINUX_3_14:kmod-lib-lz4
|
||||
DEPENDS:=+kmod-lib-lzo +kmod-lib-lz4
|
||||
KCONFIG:= \
|
||||
CONFIG_ZSMALLOC \
|
||||
CONFIG_ZRAM \
|
||||
|
@ -966,8 +966,7 @@ define KernelPackage/echo
|
|||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Line Echo Canceller
|
||||
KCONFIG:=CONFIG_ECHO
|
||||
FILES:=$(LINUX_DIR)/drivers/staging/echo/echo.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/misc/echo/echo.ko@ge3.18
|
||||
FILES:=$(LINUX_DIR)/drivers/misc/echo/echo.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,echo)
|
||||
endef
|
||||
|
||||
|
|
|
@ -218,8 +218,7 @@ define KernelPackage/usb-gadget
|
|||
TITLE:=USB Gadget support
|
||||
KCONFIG:=CONFIG_USB_GADGET
|
||||
FILES:=\
|
||||
$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko@ge3.18
|
||||
$(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko
|
||||
AUTOLOAD:=$(call AutoLoad,45,udc-core)
|
||||
DEPENDS:=@USB_GADGET_SUPPORT
|
||||
$(call AddDepends/usb)
|
||||
|
@ -255,16 +254,11 @@ define KernelPackage/usb-eth-gadget
|
|||
CONFIG_USB_ETH_EEM=n
|
||||
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/u_ether.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm_subset.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko@lt3.18
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko@ \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
|
||||
AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
@ -281,16 +275,11 @@ define KernelPackage/usb-serial-gadget
|
|||
KCONFIG:=CONFIG_USB_G_SERIAL
|
||||
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko@ge3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/u_serial.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_acm.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_obex.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/usb_f_serial.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/g_serial.ko@lt3.18
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
|
||||
AUTOLOAD:=$(call AutoLoad,52,usb_f_acm g_serial)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
@ -1072,7 +1061,7 @@ define KernelPackage/usb-net
|
|||
TITLE:=Kernel modules for USB-to-Ethernet convertors
|
||||
DEPENDS:=+kmod-mii
|
||||
KCONFIG:=CONFIG_USB_USBNET \
|
||||
CONFIG_USB_NET_DRIVERS@ge3.18
|
||||
CONFIG_USB_NET_DRIVERS
|
||||
AUTOLOAD:=$(call AutoProbe,usbnet)
|
||||
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
|
||||
$(call AddDepends/usb)
|
||||
|
|
|
@ -26,8 +26,7 @@ define KernelPackage/bcm63xx-udc
|
|||
DEPENDS:=@TARGET_brcm63xx +kmod-usb-gadget
|
||||
KCONFIG:=CONFIG_USB_BCM63XX_UDC
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/bcm63xx_udc.ko@lt3.18 \
|
||||
$(LINUX_DIR)/drivers/usb/gadget/udc/bcm63xx_udc.ko@ge3.18
|
||||
$(LINUX_DIR)/drivers/usb/gadget/udc/bcm63xx_udc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,51,bcm63xx_udc)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue