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