diff --git a/pkg/lwip/Makefile.dep b/pkg/lwip/Makefile.dep index a421f1b7f1..2e00d37edf 100644 --- a/pkg/lwip/Makefile.dep +++ b/pkg/lwip/Makefile.dep @@ -1,3 +1,5 @@ # lwIP's memory management doesn't seem to work on non 32-bit platforms at the # moment. FEATURES_REQUIRED += arch_32bit + +DEFAULT_MODULE += auto_init_lwip diff --git a/sys/auto_init/auto_init.c b/sys/auto_init/auto_init.c index dbee93de13..70bcd81a3c 100644 --- a/sys/auto_init/auto_init.c +++ b/sys/auto_init/auto_init.c @@ -154,7 +154,7 @@ void auto_init(void) DEBUG("Auto init TCP module\n"); gnrc_tcp_init(); #endif -#ifdef MODULE_LWIP +#ifdef MODULE_AUTO_INIT_LWIP DEBUG("Bootstraping lwIP.\n"); lwip_bootstrap(); #endif