Put 6LoWPAN border router in its own module
This commit is contained in:
parent
90e946eb49
commit
4e39cbdd54
@ -79,6 +79,12 @@ ifneq (,$(filter destiny,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
||||||
|
ifeq (,$(filter sixlowpan,$(USEMODULE)))
|
||||||
|
USEMODULE += sixlowpan
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
||||||
ifeq (,$(filter ieee802154,$(USEMODULE)))
|
ifeq (,$(filter ieee802154,$(USEMODULE)))
|
||||||
USEMODULE += ieee802154
|
USEMODULE += ieee802154
|
||||||
|
|||||||
@ -57,6 +57,9 @@ endif
|
|||||||
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
||||||
DIRS += net/network_layer/sixlowpan
|
DIRS += net/network_layer/sixlowpan
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
||||||
|
DIRS += net/network_layer/sixlowpan/border
|
||||||
|
endif
|
||||||
ifneq (,$(filter rpl,$(USEMODULE)))
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
||||||
DIRS += net/routing/rpl
|
DIRS += net/routing/rpl
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -36,7 +36,9 @@
|
|||||||
#include "sixlowpan/ndp.h"
|
#include "sixlowpan/ndp.h"
|
||||||
|
|
||||||
#include "lowpan.h"
|
#include "lowpan.h"
|
||||||
#include "border.h"
|
#ifdef MODULE_SIXLOWBORDER
|
||||||
|
#include "border/border.h"
|
||||||
|
#endif
|
||||||
#include "ip.h"
|
#include "ip.h"
|
||||||
#include "icmp.h"
|
#include "icmp.h"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user