Put 6LoWPAN border router in its own module

This commit is contained in:
Martin Lenders 2014-02-16 16:08:48 +01:00
parent 90e946eb49
commit 4e39cbdd54
9 changed files with 12 additions and 1 deletions

View File

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

View File

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

View File

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