Skip to content
Snippets Groups Projects
Commit 4283b151 authored by Martine Lenders's avatar Martine Lenders
Browse files

gnrc_rpl: fix dependencies

The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.

Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
parent 87c222d2
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,14 @@ ifneq (,$(filter ng_zep,$(USEMODULE))) ...@@ -35,6 +35,14 @@ ifneq (,$(filter ng_zep,$(USEMODULE)))
USEMODULE += vtimer USEMODULE += vtimer
endif endif
ifneq (,$(filter ng_rpl,$(USEMODULE)))
USEMODULE += fib
USEMODULE += gnrc
USEMODULE += ng_ipv6_router_default
USEMODULE += trickle
USEMODULE += vtimer
endif
ifneq (,$(filter ieee802154,$(USEMODULE))) ifneq (,$(filter ieee802154,$(USEMODULE)))
ifneq (,$(filter ng_ipv6, $(USEMODULE))) ifneq (,$(filter ng_ipv6, $(USEMODULE)))
USEMODULE += ng_sixlowpan USEMODULE += ng_sixlowpan
...@@ -262,13 +270,3 @@ endif ...@@ -262,13 +270,3 @@ endif
ifneq (,$(filter hih6130,$(USEMODULE))) ifneq (,$(filter hih6130,$(USEMODULE)))
USEMODULE += vtimer USEMODULE += vtimer
endif endif
ifneq (,$(filter ng_rpl,$(USEMODULE)))
USEMODULE += timex
USEMODULE += vtimer
USEMODULE += ng_ipv6_router_default
USEMODULE += trickle
USEMODULE += net_help
USEMODULE += universal_address
USEMODULE += fib
endif
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include "net/ng_rpl/structs.h" #include "net/ng_rpl/structs.h"
#include "net/ng_rpl/dodag.h" #include "net/ng_rpl/dodag.h"
#include "net/ng_rpl/of_manager.h" #include "net/ng_rpl/of_manager.h"
#include "inet_ntop.h"
#include "net/fib.h" #include "net/fib.h"
#include "vtimer.h" #include "vtimer.h"
#include "trickle.h" #include "trickle.h"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
*/ */
#include <stdbool.h> #include <stdbool.h>
#include "inet_pton.h"
#include "net/ng_rpl/dodag.h" #include "net/ng_rpl/dodag.h"
#include "net/ng_rpl/structs.h" #include "net/ng_rpl/structs.h"
#include "utlist.h" #include "utlist.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment