Merge pull request #2947 from authmillenon/ng_net/enh/auto-sixlowpan
ng_net: add 6LoWPAN as dependency for IEEE 802.15.4 devices
This commit is contained in:
commit
d24bc6ac2f
32
Makefile.dep
32
Makefile.dep
@ -56,6 +56,34 @@ ifneq (,$(filter ng_nomac,$(USEMODULE)))
|
|||||||
USEMODULE += ng_netbase
|
USEMODULE += ng_netbase
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter ng_at86rf2%,$(USEMODULE)))
|
||||||
|
USEMODULE += ng_at86rf2xx
|
||||||
|
USEMODULE += ng_ieee802154
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter kw2xrf,$(USEMODULE)))
|
||||||
|
USEMODULE += ng_ieee802154
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter xbee,$(USEMODULE)))
|
||||||
|
USEMODULE += ng_ieee802154
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter ng_ieee802154,$(USEMODULE)))
|
||||||
|
ifneq (,$(filter ng_ipv6, $(USEMODULE)))
|
||||||
|
USEMODULE += ng_sixlowpan
|
||||||
|
endif
|
||||||
|
ifneq (,$(filter ng_ipv6_router, $(USEMODULE)))
|
||||||
|
USEMODULE += ng_sixlowpan # TODO: replace with ng_sixlowpan_router
|
||||||
|
endif
|
||||||
|
ifneq (,$(filter ng_ipv6_default, $(USEMODULE)))
|
||||||
|
USEMODULE += ng_sixlowpan_default
|
||||||
|
endif
|
||||||
|
ifneq (,$(filter ng_ipv6_router_default, $(USEMODULE)))
|
||||||
|
USEMODULE += ng_sixlowpan_default # TODO: replace with ng_sixlowpan_router_default
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter ng_sixlowpan_default,$(USEMODULE)))
|
ifneq (,$(filter ng_sixlowpan_default,$(USEMODULE)))
|
||||||
USEMODULE += ng_ipv6_default
|
USEMODULE += ng_ipv6_default
|
||||||
USEMODULE += ng_sixlowpan
|
USEMODULE += ng_sixlowpan
|
||||||
@ -246,10 +274,6 @@ ifneq (,$(filter oonf_common,$(USEMODULE)))
|
|||||||
USEMODULE += socket_base
|
USEMODULE += socket_base
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter ng_at86rf2%,$(USEMODULE)))
|
|
||||||
USEMODULE += ng_at86rf2xx
|
|
||||||
endif
|
|
||||||
|
|
||||||
# if any log_* is used, also use LOG pseudomodule
|
# if any log_* is used, also use LOG pseudomodule
|
||||||
ifneq (,$(filter log_%,$(USEMODULE)))
|
ifneq (,$(filter log_%,$(USEMODULE)))
|
||||||
USEMODULE += log
|
USEMODULE += log
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
PSEUDOMODULES += defaulttransceiver
|
PSEUDOMODULES += defaulttransceiver
|
||||||
PSEUDOMODULES += transport_layer
|
PSEUDOMODULES += transport_layer
|
||||||
|
PSEUDOMODULES += ng_ieee802154
|
||||||
PSEUDOMODULES += ng_ipv6_default
|
PSEUDOMODULES += ng_ipv6_default
|
||||||
PSEUDOMODULES += ng_ipv6_router
|
PSEUDOMODULES += ng_ipv6_router
|
||||||
PSEUDOMODULES += ng_ipv6_router_default
|
PSEUDOMODULES += ng_ipv6_router_default
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user