X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/eb30c3b7ceb6ded6394c37007a25fd887ac44d8b..950d12ef6960c49bf6753a4e7b3da01a0694058e:/package/kernel/modules/netsupport.mk?ds=sidebyside diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index c8c5f6750..0ad636fbd 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -10,7 +10,6 @@ NETWORK_SUPPORT_MENU:=Network Support define KernelPackage/atm SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=ATM support - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_ATM \ CONFIG_ATM_BR2684 @@ -30,7 +29,7 @@ $(eval $(call KernelPackage,atm)) define KernelPackage/atmtcp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=ATM over TCP - DEPENDS:=@LINUX_2_6 kmod-atm + DEPENDS:=kmod-atm KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,40,atmtcp) @@ -46,7 +45,6 @@ $(eval $(call KernelPackage,atmtcp)) define KernelPackage/appletalk SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Appletalk protocol support - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_ATALK \ CONFIG_DEV_APPLETALK \ @@ -84,7 +82,6 @@ $(eval $(call KernelPackage,bonding)) define KernelPackage/capi SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=CAPI (ISDN) Support - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_ISDN_CAPI \ CONFIG_ISDN_CAPI_CAPI20 \ @@ -106,8 +103,8 @@ $(eval $(call KernelPackage,capi)) define KernelPackage/misdn SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=mISDN (ISDN) Support - DEPENDS:=@LINUX_2_6 KCONFIG:= \ + CONFIG_ISDN=y \ CONFIG_MISDN \ CONFIG_MISDN_DSP \ CONFIG_MISDN_L1OIP @@ -118,16 +115,6 @@ define KernelPackage/misdn AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip) endef -define KernelPackage/misdn/2.4 - KCONFIG+= \ - CONFIG_ISDN -endef - -define KernelPackage/misdn/2.6 - KCONFIG+= \ - CONFIG_ISDN=y -endef - define KernelPackage/misdn/description Modular ISDN driver support endef @@ -138,8 +125,8 @@ $(eval $(call KernelPackage,misdn)) define KernelPackage/isdn4linux SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Old ISDN4Linux (deprecated) - DEPENDS:=@LINUX_2_6 KCONFIG:= \ + CONFIG_ISDN=y \ CONFIG_ISDN_I4L \ CONFIG_ISDN_PPP=y \ CONFIG_ISDN_PPP_VJ=y \ @@ -153,23 +140,10 @@ define KernelPackage/isdn4linux CONFIG_ISDN_X25=y \ CONFIG_ISDN_DIVERSION FILES:= \ - $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert) -endef - -define KernelPackage/isdn4linux/2.4 - KCONFIG+= \ - CONFIG_ISDN - FILES+= \ - $(LINUX_DIR)/drivers/isdn/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX) -endef - -define KernelPackage/isdn4linux/2.6 - KCONFIG+= \ - CONFIG_ISDN=y - FILES+= \ + $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert) endef define KernelPackage/isdn4linux/description @@ -182,7 +156,7 @@ $(eval $(call KernelPackage,isdn4linux)) define KernelPackage/ipip SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IP-in-IP encapsulation - DEPENDS:=+LINUX_2_6:kmod-iptunnel4 + DEPENDS:=+kmod-iptunnel4 KCONFIG:=CONFIG_NET_IPIP FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,32,ipip) @@ -203,7 +177,7 @@ IPSEC-m:= \ define KernelPackage/ipsec SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPsec related modules (IPv4 and IPv6) - DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 + DEPENDS:=+kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 KCONFIG:= \ CONFIG_NET_KEY \ CONFIG_XFRM_USER \ @@ -307,7 +281,6 @@ $(eval $(call KernelPackage,ipsec6)) define KernelPackage/iptunnel4 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv4 tunneling - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_NET_IPIP \ CONFIG_INET_TUNNEL @@ -325,7 +298,7 @@ $(eval $(call KernelPackage,iptunnel4)) define KernelPackage/iptunnel6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 tunneling - DEPENDS:= @LINUX_2_6 +kmod-ipv6 + DEPENDS:= +kmod-ipv6 KCONFIG:= \ CONFIG_INET6_TUNNEL FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.$(LINUX_KMOD_SUFFIX) @@ -360,10 +333,9 @@ endef $(eval $(call KernelPackage,ipv6)) -# sit is not selectable on 2.4, but built when ipv6 is enabled define KernelPackage/sit SUBMENU:=$(NETWORK_SUPPORT_MENU) - DEPENDS:=+kmod-ipv6 +LINUX_2_6:kmod-iptunnel4 + DEPENDS:=+kmod-ipv6 +kmod-iptunnel4 TITLE:=IPv6-in-IPv4 tunnelling KCONFIG:=CONFIG_IPV6 CONFIG_IPV6_SIT FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX) @@ -380,7 +352,7 @@ $(eval $(call KernelPackage,sit)) define KernelPackage/ip6-tunnel SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IP-in-IPv6 tunnelling - DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel6 + DEPENDS:= +kmod-ipv6 +kmod-iptunnel6 KCONFIG:= CONFIG_IPV6_TUNNEL FILES:= $(foreach mod,ip6_tunnel, \ $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \ @@ -427,7 +399,7 @@ $(eval $(call KernelPackage,tun)) define KernelPackage/ppp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPP modules - DEPENDS:=+LINUX_2_6:kmod-crc-ccitt + DEPENDS:=+kmod-crc-ccitt KCONFIG:= \ CONFIG_PPP \ CONFIG_PPP_ASYNC \ @@ -498,7 +470,7 @@ $(eval $(call KernelPackage,pppoa)) define KernelPackage/pppol2tp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPPoL2TP support - DEPENDS:=@LINUX_2_6 kmod-ppp +kmod-pppoe + DEPENDS:=kmod-ppp +kmod-pppoe KCONFIG:=CONFIG_PPPOL2TP FILES:=$(LINUX_DIR)/drivers/net/pppol2tp.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,40,pppol2tp) @@ -534,16 +506,6 @@ define KernelPackage/mppe KCONFIG:= \ CONFIG_PPP_MPPE_MPPC \ CONFIG_PPP_MPPE -endef - -define KernelPackage/mppe/2.4 -# KCONFIG:=CONFIG_PPP_MPPE_MPPC - FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc) -endef - -define KernelPackage/mppe/2.6 -# KCONFIG:=CONFIG_PPP_MPPE FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,31,ppp_mppe) endef @@ -623,7 +585,6 @@ $(eval $(call KernelPackage,ax25)) define KernelPackage/mp-alg SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=ECMP caching algorithms - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_IP_ROUTE_MULTIPATH_RR \ CONFIG_IP_ROUTE_MULTIPATH_RANDOM \ @@ -651,7 +612,6 @@ $(eval $(call KernelPackage,mp-alg)) define KernelPackage/pktgen SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Network packet generator - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_NET_PKTGEN FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,99,pktgen)