2014-02-19 03:18:46 +01:00
|
|
|
ifneq (,$(filter libcoap,$(USEPKG)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += pnet
|
2014-02-19 03:18:46 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter pnet,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += posix
|
|
|
|
USEMODULE += socket_base
|
|
|
|
USEMODULE += net_help
|
2013-09-30 15:48:35 +02:00
|
|
|
endif
|
|
|
|
|
2014-07-31 17:53:46 +02:00
|
|
|
ifneq (,$(filter transport_layer,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += tcp
|
|
|
|
USEMODULE += udp
|
2014-07-31 17:53:46 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter udp,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += socket_base
|
2014-07-31 17:53:46 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter tcp,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += socket_base
|
2014-07-31 17:53:46 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter socket_base,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += sixlowpan
|
|
|
|
USEMODULE += net_help
|
|
|
|
USEMODULE += vtimer
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += sixlowpan
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
2014-03-25 16:22:54 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += trickle
|
|
|
|
USEMODULE += routing
|
2014-03-25 16:22:54 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter routing,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += sixlowpan
|
2014-03-25 16:22:54 +01:00
|
|
|
endif
|
2014-03-04 22:35:54 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += net_help
|
|
|
|
USEMODULE += net_if
|
|
|
|
USEMODULE += posix
|
|
|
|
USEMODULE += vtimer
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
|
|
|
|
2015-03-28 14:05:17 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_hdr,$(USEMODULE)))
|
|
|
|
USEMODULE += ng_inet_csum
|
|
|
|
USEMODULE += ng_pktbuf
|
|
|
|
endif
|
|
|
|
|
2015-02-16 21:55:42 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += ng_ipv6_addr
|
2015-02-16 21:55:42 +01:00
|
|
|
endif
|
|
|
|
|
2015-02-11 14:10:34 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_netif,$(USEMODULE)))
|
|
|
|
USEMODULE += ng_ipv6_addr
|
|
|
|
USEMODULE += ng_netif
|
|
|
|
endif
|
|
|
|
|
2015-03-17 16:33:30 +01:00
|
|
|
ifneq (,$(filter ng_netbase,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += ng_netapi
|
|
|
|
USEMODULE += ng_netreg
|
2015-03-17 16:33:30 +01:00
|
|
|
USEMODULE += ng_netif
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += ng_pktbuf
|
2015-03-16 15:43:22 +01:00
|
|
|
endif
|
|
|
|
|
2015-03-21 11:47:25 +01:00
|
|
|
ifneq (,$(filter ng_pktdump,$(USEMODULE)))
|
|
|
|
USEMODULE += ng_pktbuf
|
2015-03-24 02:53:06 +01:00
|
|
|
USEMODULE += od
|
2015-03-21 11:47:25 +01:00
|
|
|
endif
|
|
|
|
|
2014-09-12 18:12:26 +02:00
|
|
|
ifneq (,$(filter aodvv2,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
USEMODULE += sixlowpan
|
|
|
|
USEMODULE += oonf_common
|
|
|
|
USEMODULE += oonf_rfc5444
|
2014-09-12 18:12:26 +02:00
|
|
|
endif
|
|
|
|
|
2014-10-01 22:29:59 +02:00
|
|
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += posix
|
2014-10-01 22:29:59 +02:00
|
|
|
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-15 12:48:11 +01:00
|
|
|
ifneq (,$(filter cc110x%,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += protocol_multiplex
|
|
|
|
USEMODULE += vtimer
|
2013-07-29 01:24:02 +02:00
|
|
|
endif
|
|
|
|
|
2014-09-23 01:30:37 +02:00
|
|
|
ifneq (,$(filter cc110x,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += transceiver
|
2014-09-23 01:30:37 +02:00
|
|
|
endif
|
|
|
|
|
2014-10-19 13:47:19 +02:00
|
|
|
ifneq (,$(filter cc110x_legacy,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += transceiver
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2013-06-25 15:33:40 +02:00
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter cc2420,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += transceiver
|
|
|
|
USEMODULE += ieee802154
|
2013-06-25 15:33:40 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter at86rf231,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += netdev_802154
|
|
|
|
USEMODULE += ieee802154
|
2013-07-12 12:31:16 +02:00
|
|
|
endif
|
|
|
|
|
2014-05-22 23:24:28 +02:00
|
|
|
ifneq (,$(filter l2_ping,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += vtimer
|
2014-05-22 23:24:28 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter vtimer,$(USEMODULE)))
|
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
|
|
|
|
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += transceiver
|
|
|
|
USEMODULE += net_help
|
|
|
|
USEMODULE += hashes
|
2013-12-20 15:23:09 +01:00
|
|
|
endif
|
2013-12-25 18:28:11 +01:00
|
|
|
|
2014-05-08 19:06:07 +02:00
|
|
|
ifneq (,$(filter ccn_lite,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += crypto
|
2014-05-08 19:06:07 +02:00
|
|
|
endif
|
2014-02-27 18:20:56 +01:00
|
|
|
|
2014-10-20 16:46:53 +02:00
|
|
|
ifneq (,$(filter netdev_802154,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
USEMODULE += netdev_base
|
2014-10-20 16:46:53 +02:00
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
|
|
ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
|
2015-03-17 16:28:01 +01:00
|
|
|
FEATURES_REQUIRED += transceiver
|
2014-09-29 18:09:18 +02:00
|
|
|
endif
|
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)))
|
|
|
|
USEMODULE += timex
|
|
|
|
USEMODULE += vtimer
|
|
|
|
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
|