Changeset 14081


Ignore:
Timestamp:
2009-01-18T01:18:06+01:00 (7 years ago)
Author:
thepeople
Message:

fix compile of iptunnel4 for the 2.4 kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/netsupport.mk

    r13958 r14081  
    217217$(eval $(call KernelPackage,ipsec6)) 
    218218 
    219  
    220 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that 
    221219define KernelPackage/iptunnel4 
    222   SUBMENU:=$(NETWORK_SUPPORT_MENU) 
    223   TITLE:=IPv4 tunneling 
    224   DEPENDS:= @LINUX_2_6 
    225   KCONFIG:= \ 
    226         CONFIG_NET_IPIP \ 
    227         CONFIG_INET_TUNNEL 
    228   FILES:= $(foreach mod,tunnel4, \ 
    229         $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \ 
    230   ) 
    231   AUTOLOAD:=$(call AutoLoad,31,tunnel4) 
     220  TITLE:=IP in IP encapsulation support 
     221  KCONFIG:=$(CONFIG_NET_IPIP) 
     222  SUBMENU:=$(NSMENU) 
     223endef 
     224 
     225define KernelPackage/iptunnel4/2.4 
     226  FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) 
     227  AUTOLOAD:=$(call AutoLoad,30,ipip) 
     228endef 
     229 
     230define KernelPackage/iptunnel4/2.6 
     231  FILES:= \ 
     232        $(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \ 
     233        $(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX) 
     234  AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4) 
    232235endef 
    233236 
     
    237240 
    238241$(eval $(call KernelPackage,iptunnel4)) 
    239  
    240242 
    241243define KernelPackage/iptunnel6 
Note: See TracChangeset for help on using the changeset viewer.