1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

lwip: introduce MLD as pseudo-module and deactivate by default

This commit is contained in:
Martine Lenders 2016-04-28 12:22:42 +02:00
parent 4a13324abb
commit b605852638
3 changed files with 8 additions and 1 deletions

View File

@ -365,7 +365,7 @@ ifneq (,$(filter lwip_sixlowpan,$(USEMODULE)))
USEMODULE += lwip_ipv6_autoconfig
endif
ifneq (,$(filter lwip_ipv6_autoconfig,$(USEMODULE)))
ifneq (,$(filter lwip_ipv6_autoconfig lwip_ipv6_mld,$(USEMODULE)))
USEMODULE += lwip_ipv6
endif

View File

@ -25,6 +25,7 @@ PSEUDOMODULES += lwip_dhcp
PSEUDOMODULES += lwip_ethernet
PSEUDOMODULES += lwip_igmp
PSEUDOMODULES += lwip_ipv6_autoconfig
PSEUDOMODULES += lwip_ipv6_mld
PSEUDOMODULES += lwip_raw
PSEUDOMODULES += lwip_sixlowpan
PSEUDOMODULES += lwip_stats

View File

@ -74,6 +74,12 @@ extern "C" {
#define LWIP_IPV6_AUTOCONFIG (0)
#endif /* MODULE_LWIP_IPV6_AUTOCONFIG */
#ifdef MODULE_LWIP_IPV6_MLD
#define LWIP_IPV6_MLD (1)
#else /* MODULE_LWIP_IPV6 */
#define LWIP_IPV6_MLD (0)
#endif /* MODULE_LWIP_IPV6 */
#ifdef MODULE_LWIP_IPV6
#define LWIP_IPV6 (1)
#else /* MODULE_LWIP_IPV6 */