Browse Source

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

pr/spi.typo
Martine Lenders 7 years ago
parent
commit
b605852638
  1. 2
      Makefile.dep
  2. 1
      Makefile.pseudomodules
  3. 6
      pkg/lwip/include/lwipopts.h

2
Makefile.dep

@ -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

1
Makefile.pseudomodules

@ -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

6
pkg/lwip/include/lwipopts.h

@ -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 */

Loading…
Cancel
Save