2015-08-10 02:41:08 +02:00
|
|
|
ifneq (,$(filter gnrc_%,$(filter-out gnrc_netapi gnrc_netreg gnrc_netif% gnrc_pktbuf,$(USEMODULE))))
|
|
|
|
USEMODULE += gnrc
|
|
|
|
endif
|
|
|
|
|
2015-07-29 19:59:16 +02:00
|
|
|
ifneq (,$(filter schedstatistics,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_netif_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_netif
|
2015-04-29 20:48:38 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-11 23:52:02 +02:00
|
|
|
ifneq (,$(filter at86rf2%,$(USEMODULE)))
|
2015-08-09 21:24:55 +02:00
|
|
|
USEMODULE += at86rf2xx
|
2015-08-07 14:36:04 +02:00
|
|
|
USEMODULE += ieee802154
|
2015-07-30 10:20:06 +02:00
|
|
|
USEMODULE += xtimer
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter kw2xrf,$(USEMODULE)))
|
2015-08-07 14:36:04 +02:00
|
|
|
USEMODULE += ieee802154
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter xbee,$(USEMODULE)))
|
2015-08-07 14:36:04 +02:00
|
|
|
USEMODULE += ieee802154
|
2015-08-14 10:20:58 +02:00
|
|
|
USEMODULE += xtimer
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_zep,$(USEMODULE)))
|
2015-03-17 14:42:35 +01:00
|
|
|
USEMODULE += hashes
|
2015-08-07 14:36:04 +02:00
|
|
|
USEMODULE += ieee802154
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_udp
|
2015-03-17 14:42:35 +01:00
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
|
2015-08-18 17:23:40 +02:00
|
|
|
USEMODULE += fib
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_ipv6_router_default
|
2015-08-18 17:23:40 +02:00
|
|
|
USEMODULE += trickle
|
2015-09-04 13:16:36 +02:00
|
|
|
USEMODULE += xtimer
|
2015-08-18 17:23:40 +02:00
|
|
|
endif
|
|
|
|
|
2015-09-04 10:47:40 +02:00
|
|
|
ifneq (,$(filter trickle,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-07 14:36:04 +02:00
|
|
|
ifneq (,$(filter ieee802154,$(USEMODULE)))
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6, $(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_router, $(USEMODULE)))
|
2015-08-31 00:23:11 +02:00
|
|
|
USEMODULE += gnrc_sixlowpan_router
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_default, $(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan_default
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_router_default, $(USEMODULE)))
|
2015-08-31 00:23:11 +02:00
|
|
|
USEMODULE += gnrc_sixlowpan_router_default
|
2015-05-09 16:39:23 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6_default
|
|
|
|
USEMODULE += gnrc_sixlowpan
|
2015-08-28 03:59:38 +02:00
|
|
|
USEMODULE += gnrc_sixlowpan_nd
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_sixlowpan_frag
|
|
|
|
USEMODULE += gnrc_sixlowpan_iphc
|
2015-05-16 19:57:56 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-31 00:23:11 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_router_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
|
|
USEMODULE += gnrc_sixlowpan_router
|
|
|
|
USEMODULE += gnrc_sixlowpan_frag
|
|
|
|
USEMODULE += gnrc_sixlowpan_iphc
|
|
|
|
endif
|
|
|
|
|
2015-08-31 00:23:27 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_border_router_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
|
|
USEMODULE += gnrc_sixlowpan_nd_border_router
|
|
|
|
USEMODULE += gnrc_sixlowpan_router
|
|
|
|
USEMODULE += gnrc_sixlowpan_frag
|
|
|
|
USEMODULE += gnrc_sixlowpan_iphc
|
|
|
|
endif
|
|
|
|
|
2015-08-31 00:23:11 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_router,$(USEMODULE)))
|
2015-09-10 19:38:01 +02:00
|
|
|
USEMODULE += gnrc_sixlowpan_nd_router
|
2015-08-31 00:23:11 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_frag,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan
|
2015-04-08 11:56:10 +02:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_iphc,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan
|
|
|
|
USEMODULE += gnrc_sixlowpan_ctx
|
2015-04-13 12:48:53 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6
|
|
|
|
USEMODULE += gnrc_sixlowpan_netif
|
2015-08-17 15:06:44 +02:00
|
|
|
USEMODULE += sixlowpan
|
2015-03-16 17:52:19 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
|
2015-08-10 00:26:36 +02:00
|
|
|
USEMODULE += ipv6_addr
|
2015-04-10 12:02:55 +02:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-31 00:23:27 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_nd_border_router,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan_nd_router
|
|
|
|
endif
|
|
|
|
|
2015-08-31 00:23:11 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_nd_router,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_sixlowpan_nd
|
|
|
|
endif
|
|
|
|
|
2015-08-28 03:59:38 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_nd,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp
|
|
|
|
USEMODULE += gnrc_ndp_internal
|
|
|
|
USEMODULE += gnrc_sixlowpan_ctx
|
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6
|
|
|
|
USEMODULE += gnrc_icmpv6
|
2015-08-28 03:59:38 +02:00
|
|
|
ifeq (1,$(GNRC_NETIF_NUMOF))
|
|
|
|
ifeq (,$(filter gnrc_sixlowpan_nd,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp_host
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
USEMODULE += gnrc_ndp_host
|
|
|
|
endif
|
2015-05-16 19:57:56 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_router_default,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6_router
|
|
|
|
USEMODULE += gnrc_icmpv6
|
2015-08-31 00:23:11 +02:00
|
|
|
ifeq (1,$(GNRC_NETIF_NUMOF))
|
|
|
|
ifeq (,$(filter gnrc_sixlowpan_nd_router,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp_router
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
USEMODULE += gnrc_ndp_router
|
|
|
|
endif
|
2015-05-16 19:57:56 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-31 14:25:17 +02:00
|
|
|
ifneq (,$(filter gnrc_ndp_host,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp_node
|
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-19 17:15:15 +02:00
|
|
|
ifneq (,$(filter gnrc_ndp_router,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp_node
|
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-31 14:25:17 +02:00
|
|
|
ifneq (,$(filter gnrc_ndp_node,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp_internal
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter gnrc_ndp_%,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ndp
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ndp,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_icmpv6
|
2015-05-03 15:20:25 +02:00
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += timex
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_icmpv6
|
2015-04-01 17:35:23 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_icmpv6,$(USEMODULE)))
|
2015-08-07 14:56:36 +02:00
|
|
|
USEMODULE += inet_csum
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_ipv6
|
2015-03-07 20:37:45 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_rpl_srh,$(USEMODULE)))
|
2015-08-09 23:53:40 +02:00
|
|
|
USEMODULE += ipv6_ext_rh
|
2015-03-07 21:46:57 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-09 23:53:40 +02:00
|
|
|
ifneq (,$(filter ipv6_ext_rh,$(USEMODULE)))
|
|
|
|
USEMODULE += ipv6_ext
|
2015-03-07 21:46:57 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_ext,$(USEMODULE)))
|
2015-08-09 23:53:40 +02:00
|
|
|
USEMODULE += ipv6_ext
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_ipv6
|
2015-03-07 21:46:57 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_router,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_ipv6
|
2015-03-03 22:20:21 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6,$(USEMODULE)))
|
2015-08-07 14:56:36 +02:00
|
|
|
USEMODULE += inet_csum
|
2015-08-10 00:26:36 +02:00
|
|
|
USEMODULE += ipv6_addr
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_ipv6_hdr
|
|
|
|
USEMODULE += gnrc_ipv6_nc
|
|
|
|
USEMODULE += gnrc_ipv6_netif
|
2015-03-03 22:20:21 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_hdr,$(USEMODULE)))
|
2015-08-10 02:04:35 +02:00
|
|
|
USEMODULE += ipv6_hdr
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_pktbuf
|
2015-08-10 02:04:35 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:06:44 +02:00
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|
|
|
USEMODULE += ipv6_hdr
|
|
|
|
endif
|
|
|
|
|
2015-08-10 02:04:35 +02:00
|
|
|
ifneq (,$(filter ipv6_hdr,$(USEMODULE)))
|
|
|
|
USEMODULE += inet_csum
|
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE)))
|
2015-08-10 00:26:36 +02:00
|
|
|
USEMODULE += ipv6_addr
|
2015-02-16 21:55:42 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_netif,$(USEMODULE)))
|
2015-08-10 00:26:36 +02:00
|
|
|
USEMODULE += ipv6_addr
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_netif
|
2015-08-05 19:47:09 +02:00
|
|
|
USEMODULE += bitfield
|
2015-02-11 14:10:34 +01:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_udp,$(USEMODULE)))
|
2015-08-07 14:56:36 +02:00
|
|
|
USEMODULE += inet_csum
|
2015-08-10 03:16:53 +02:00
|
|
|
USEMODULE += udp
|
2015-04-24 15:06:14 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_nettest,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_netapi
|
|
|
|
USEMODULE += gnrc_netreg
|
|
|
|
USEMODULE += gnrc_netif
|
|
|
|
USEMODULE += gnrc_pktbuf
|
2015-06-24 02:50:11 +02:00
|
|
|
USEMODULE += vtimer
|
2015-05-26 23:49:02 +02:00
|
|
|
endif
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_pktbuf
|
2015-03-24 02:53:06 +01:00
|
|
|
USEMODULE += od
|
2015-03-21 11:47:25 +01:00
|
|
|
endif
|
2015-03-22 18:42:34 +01:00
|
|
|
|
2015-08-04 15:29:06 +02:00
|
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
|
|
USEMODULE += uart_stdio
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter posix,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += timex
|
|
|
|
USEMODULE += vtimer
|
2013-09-30 15:48:35 +02:00
|
|
|
endif
|
|
|
|
|
2014-07-14 21:40:04 +02:00
|
|
|
ifneq (,$(filter cbor,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += net_help
|
2014-07-14 21:40:04 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter vtimer,$(USEMODULE)))
|
2015-07-29 19:17:15 +02:00
|
|
|
USEMODULE += xtimer
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += timex
|
2013-06-25 15:33:40 +02:00
|
|
|
endif
|
2013-12-20 15:23:09 +01:00
|
|
|
|
2014-02-27 18:20:56 +01:00
|
|
|
ifneq (,$(filter rgbled,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += color
|
2014-02-27 18:20:56 +01:00
|
|
|
endif
|
2014-03-27 13:15:52 +01:00
|
|
|
|
2014-07-22 20:24:45 +02:00
|
|
|
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEPKG += libfixmath
|
2014-07-22 20:24:45 +02:00
|
|
|
endif
|
2014-09-29 18:09:18 +02:00
|
|
|
|
2014-11-25 12:02:52 +01:00
|
|
|
ifneq (,$(filter nhdp,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
USEMODULE += oonf_common
|
|
|
|
USEMODULE += oonf_rfc5444
|
2014-11-25 12:02:52 +01:00
|
|
|
endif
|
2014-11-04 08:47:57 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
2015-05-25 21:01:51 +02:00
|
|
|
USEMODULE += universal_address
|
2015-09-08 13:44:52 +02:00
|
|
|
USEMODULE += xtimer
|
2014-11-04 08:47:57 +01:00
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
2015-04-09 17:36:39 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter oonf_common,$(USEMODULE)))
|
2015-04-09 17:45:47 +02:00
|
|
|
USEPKG += oonf_api
|
2015-04-09 17:36:39 +02:00
|
|
|
USEMODULE += socket_base
|
|
|
|
endif
|
2015-04-23 18:36:55 +02:00
|
|
|
|
2015-02-25 16:31:03 +01:00
|
|
|
# if any log_* is used, also use LOG pseudomodule
|
|
|
|
ifneq (,$(filter log_%,$(USEMODULE)))
|
|
|
|
USEMODULE += log
|
|
|
|
endif
|
2015-03-03 19:34:12 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter cpp11-compat,$(USEMODULE)))
|
|
|
|
USEMODULE += vtimer
|
|
|
|
USEMODULE += timex
|
|
|
|
FEATURES_REQUIRED += cpp
|
|
|
|
endif
|
2015-06-04 11:50:03 +02:00
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_netdev_eth,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_pktbuf
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter gnrc,$(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_netapi
|
|
|
|
USEMODULE += gnrc_netreg
|
|
|
|
USEMODULE += gnrc_netif
|
|
|
|
USEMODULE += gnrc_netif_hdr
|
|
|
|
USEMODULE += gnrc_pktbuf
|
2015-08-06 12:12:47 +02:00
|
|
|
endif
|
|
|
|
|
2015-09-09 11:29:00 +02:00
|
|
|
ifneq (,$(filter gnrc_pktbuf, $(USEMODULE)))
|
|
|
|
ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_pktbuf_static
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
|
|
|
|
USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations
|
|
|
|
endif
|
|
|
|
|
2015-08-21 16:06:57 +02:00
|
|
|
ifneq (,$(filter gnrc_netdev2,$(USEMODULE)))
|
|
|
|
USEMODULE += netopt
|
|
|
|
endif
|
|
|
|
|
2015-07-02 11:51:08 +02:00
|
|
|
ifneq (,$(filter hih6130,$(USEMODULE)))
|
2015-08-14 00:53:19 +02:00
|
|
|
USEMODULE += xtimer
|
2015-07-02 11:51:08 +02:00
|
|
|
endif
|
2015-04-08 19:54:00 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter encx24j600,$(USEMODULE)))
|
2015-08-14 00:46:42 +02:00
|
|
|
USEMODULE += xtimer
|
2015-04-08 19:54:00 +02:00
|
|
|
endif
|
2015-09-04 18:45:32 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter srf02,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-07-30 15:58:43 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter dht,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 10:18:16 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter lm75a,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 10:47:51 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter mpu9150,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 13:30:49 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter sht11,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 13:34:22 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter srf02,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter pcd8544,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 13:36:45 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter nvram_spi,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-08-14 13:38:02 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter ltc4150,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
2015-09-09 18:32:54 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter pthread,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += vtimer
|
|
|
|
USEMODULE += timex
|
|
|
|
endif
|
2015-09-10 08:27:06 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter schedstatistics,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter xtimer,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_timer
|
|
|
|
endif
|