2014-02-19 03:18:46 +01:00
|
|
|
ifneq (,$(filter libcoap,$(USEPKG)))
|
2014-02-24 14:52:50 +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)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += posix
|
2014-07-31 17:53:46 +02:00
|
|
|
USEMODULE += socket_base
|
2014-02-24 14:52:50 +01:00
|
|
|
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)))
|
|
|
|
USEMODULE += tcp
|
|
|
|
USEMODULE += udp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter udp,$(USEMODULE)))
|
|
|
|
USEMODULE += socket_base
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter tcp,$(USEMODULE)))
|
|
|
|
USEMODULE += socket_base
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter socket_base,$(USEMODULE)))
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += sixlowpan
|
|
|
|
USEMODULE += net_help
|
|
|
|
USEMODULE += vtimer
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += sixlowpan
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
2014-03-25 16:22:54 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += routing
|
2014-03-25 16:22:54 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter routing,$(USEMODULE)))
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += sixlowpan
|
2014-03-25 16:22:54 +01:00
|
|
|
endif
|
2014-03-04 22:35:54 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += net_help
|
|
|
|
USEMODULE += net_if
|
|
|
|
USEMODULE += posix
|
|
|
|
USEMODULE += vtimer
|
2014-03-04 22:35:54 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter posix,$(USEMODULE)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += uart0
|
|
|
|
USEMODULE += timex
|
|
|
|
USEMODULE += vtimer
|
2013-09-30 15:48:35 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += lib
|
|
|
|
USEMODULE += posix
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
|
|
|
|
2014-07-14 21:40:04 +02:00
|
|
|
ifneq (,$(filter cbor,$(USEMODULE)))
|
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
|
|
|
|
2014-02-15 12:48:11 +01:00
|
|
|
ifneq (,$(filter cc110x%,$(USEMODULE)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += protocol_multiplex
|
|
|
|
USEMODULE += vtimer
|
2013-07-29 01:24:02 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter cc110x_ng,$(USEMODULE)))
|
2014-02-24 14:52:50 +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)))
|
2014-02-24 14:52:50 +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)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += transceiver
|
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += vtimer
|
2013-07-12 12:31:16 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter vtimer,$(USEMODULE)))
|
2014-02-24 14:52:50 +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)))
|
2014-02-24 14:52:50 +01:00
|
|
|
USEMODULE += transceiver
|
2014-07-14 18:02:14 +02:00
|
|
|
USEMODULE += net_help
|
2014-03-03 11:04:14 +01:00
|
|
|
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)))
|
|
|
|
USEMODULE += crypto
|
|
|
|
endif
|
2014-02-27 18:20:56 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter rgbled,$(USEMODULE)))
|
|
|
|
USEMODULE += color
|
|
|
|
endif
|
2014-03-27 13:15:52 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter pipe,$(USEMODULE)))
|
|
|
|
USEMODULE += lib
|
|
|
|
endif
|
2014-07-22 20:24:45 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
|
|
|
USEPKG += libfixmath
|
|
|
|
endif
|