Changeset 26012


Ignore:
Timestamp:
2011-03-10T16:41:04+01:00 (7 years ago)
Author:
jow
Message:

[package] kernel: further fixes to kmod-gre packaging

File:
1 edited

Legend:

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

    r26010 r26012  
    371371  SUBMENU:=$(NETWORK_SUPPORT_MENU) 
    372372  TITLE:=GRE support 
    373   KCONFIG:=CONFIG_NET_IPGRE \ 
    374     $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),CONFIG_NET_IPGRE_DEMUX) 
    375   FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko \ 
    376     $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),$(LINUX_DIR)/net/ipv4/gre.ko) 
    377   AUTOLOAD:=$(call AutoLoad,39, \ 
    378     $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),gre) ip_gre) 
     373  KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX 
     374 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1) 
     375  FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko 
     376  AUTOLOAD:=$(call AutoLoad,39,gre ip_gre) 
     377 else 
     378  FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko 
     379  AUTOLOAD:=$(call AutoLoad,39,ip_gre) 
     380 endif 
    379381endef 
    380382 
Note: See TracChangeset for help on using the changeset viewer.