Navigation


Changeset 491:6edd14e5f132 in freeDiameter for contrib


Ignore:
Timestamp:
Aug 13, 2010, 3:52:28 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Children:
492:121397bd1afc, 498:753c9ed8f19a
Phase:
public
Message:

Fix SCTP support for OpenWRT, now it really works

Location:
contrib/OpenWRT
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/OpenWRT/HOWTO

    r490 r491  
    9090We will now describe how to install these dependencies. At the time this HOWTO is written,
    9191the OpenWRT repositories contain ipv6, gnutls, pthreads and hostapd. Follow these instruction to
    92 build them:
     92build them.
     93
     94Alternatively, you can find these packages pre-compiled in the OpenWRT packages repository.
    9395
    9496a) GNU TLS packages
  • contrib/OpenWRT/packages/sctp/Makefile

    r489 r491  
    2323
    2424include $(INCLUDE_DIR)/package.mk
    25 include $(INCLUDE_DIR)/kernel.mk
    2625
    27 define KernelPackage/sctp
    28   SUBMENU:=Network Support
    29   TITLE:=SCTP support
    30   KCONFIG:= CONFIG_IP_SCTP=m
    31   FILES:=$(LINUX_DIR)/net/sctp/sctp.$(LINUX_KMOD_SUFFIX)
    32   AUTOLOAD:=$(call AutoLoad,20,sctp)
    33   DEPENDS:=@LINUX_2_6
    34 endef
    35 
    36 define KernelPackage/sctp/description
    37  Kernel modules for SCTP support
    38 endef
     26#####
     27## lksctp library: provides sctp_* functions in user space
     28#####
    3929
    4030define Package/sctp
     
    6050
    6151$(eval $(call BuildPackage,sctp))
     52
     53
     54#####
     55## SCTP kernel support
     56#####
     57
     58include $(INCLUDE_DIR)/kernel.mk
     59
     60define KernelPackage/sctp
     61  SUBMENU:=Network Support
     62  TITLE:=SCTP support
     63  KCONFIG:=\
     64     CONFIG_IP_SCTP=m \
     65     CONFIG_LIBCRC32C=m
     66  FILES:=\
     67     $(LINUX_DIR)/net/sctp/sctp.$(LINUX_KMOD_SUFFIX) \
     68     $(LINUX_DIR)/lib/libcrc32c.$(LINUX_KMOD_SUFFIX)
     69  AUTOLOAD:=\
     70     $(call AutoLoad,30,crc32c libcrc32c,1) \
     71     $(call AutoLoad,35,sctp)
     72  DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-misc
     73endef
     74
     75define KernelPackage/sctp/description
     76 Kernel modules for SCTP support
     77endef
     78
    6279$(eval $(call KernelPackage,sctp))
     80
Note: See TracChangeset for help on using the changeset viewer.