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

make: introduce *_default pseudo-modules

Fixes #2971
parent 4f1d7adf
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,12 @@ ifneq (,$(filter ng_nomac,$(USEMODULE))) ...@@ -56,6 +56,12 @@ ifneq (,$(filter ng_nomac,$(USEMODULE)))
USEMODULE += ng_netbase USEMODULE += ng_netbase
endif endif
ifneq (,$(filter ng_sixlowpan_default,$(USEMODULE)))
USEMODULE += ng_ipv6_default
USEMODULE += ng_sixlowpan
USEMODULE += ng_sixlowpan_frag
endif
ifneq (,$(filter ng_sixlowpan_frag,$(USEMODULE))) ifneq (,$(filter ng_sixlowpan_frag,$(USEMODULE)))
USEMODULE += ng_sixlowpan USEMODULE += ng_sixlowpan
USEMODULE += vtimer USEMODULE += vtimer
...@@ -72,6 +78,18 @@ ifneq (,$(filter ng_sixlowpan_ctx,$(USEMODULE))) ...@@ -72,6 +78,18 @@ ifneq (,$(filter ng_sixlowpan_ctx,$(USEMODULE)))
USEMODULE += vtimer USEMODULE += vtimer
endif endif
ifneq (,$(filter ng_ipv6_default,$(USEMODULE)))
USEMODULE += ng_ipv6
USEMODULE += ng_icmpv6
USEMODULE += ng_ndp
endif
ifneq (,$(filter ng_ipv6_router_default,$(USEMODULE)))
USEMODULE += ng_ipv6_router
USEMODULE += ng_icmpv6
USEMODULE += ng_ndp
endif
ifneq (,$(filter ng_ndp,$(USEMODULE))) ifneq (,$(filter ng_ndp,$(USEMODULE)))
USEMODULE += ng_icmpv6 USEMODULE += ng_icmpv6
USEMODULE += random USEMODULE += random
...@@ -85,6 +103,7 @@ ifneq (,$(filter ng_icmpv6_echo,$(USEMODULE))) ...@@ -85,6 +103,7 @@ ifneq (,$(filter ng_icmpv6_echo,$(USEMODULE)))
endif endif
ifneq (,$(filter ng_icmpv6,$(USEMODULE))) ifneq (,$(filter ng_icmpv6,$(USEMODULE)))
USEMODULE += ng_inet_csum
USEMODULE += ng_ipv6 USEMODULE += ng_ipv6
endif endif
...@@ -98,17 +117,12 @@ ifneq (,$(filter ng_ipv6_router,$(USEMODULE))) ...@@ -98,17 +117,12 @@ ifneq (,$(filter ng_ipv6_router,$(USEMODULE)))
endif endif
ifneq (,$(filter ng_ipv6,$(USEMODULE))) ifneq (,$(filter ng_ipv6,$(USEMODULE)))
USEMODULE += ng_icmpv6
USEMODULE += ng_inet_csum USEMODULE += ng_inet_csum
USEMODULE += ng_ipv6_addr USEMODULE += ng_ipv6_addr
USEMODULE += ng_ipv6_hdr USEMODULE += ng_ipv6_hdr
USEMODULE += ng_ipv6_nc USEMODULE += ng_ipv6_nc
USEMODULE += ng_ipv6_netif USEMODULE += ng_ipv6_netif
USEMODULE += ng_ndp
USEMODULE += ng_netbase USEMODULE += ng_netbase
USEMODULE += random
USEMODULE += timex
USEMODULE += vtimer
endif endif
ifneq (,$(filter ng_ipv6_nc,$(USEMODULE))) ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
......
PSEUDOMODULES += defaulttransceiver PSEUDOMODULES += defaulttransceiver
PSEUDOMODULES += transport_layer PSEUDOMODULES += transport_layer
PSEUDOMODULES += ng_ipv6_default
PSEUDOMODULES += ng_ipv6_router PSEUDOMODULES += ng_ipv6_router
PSEUDOMODULES += ng_ipv6_router_default
PSEUDOMODULES += pktqueue PSEUDOMODULES += pktqueue
PSEUDOMODULES += ng_netbase PSEUDOMODULES += ng_netbase
PSEUDOMODULES += ng_sixlowpan_default
# include variants of the AT86RF2xx drivers as pseudo modules # include variants of the AT86RF2xx drivers as pseudo modules
PSEUDOMODULES += ng_at86rf23% PSEUDOMODULES += ng_at86rf23%
......
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