2014-02-19 03:18:46 +01:00
|
|
|
ifneq (,$(filter libcoap,$(USEPKG)))
|
|
|
|
ifeq (,$(filter pnet,$(USEMODULE)))
|
|
|
|
USEMODULE += pnet
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter pnet,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter posix,$(USEMODULE)))
|
2013-09-30 15:48:35 +02:00
|
|
|
USEMODULE += posix
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter destiny,$(USEMODULE)))
|
2013-09-30 15:48:35 +02:00
|
|
|
USEMODULE += destiny
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter net_help,$(USEMODULE)))
|
2013-09-30 15:48:35 +02:00
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter posix,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter uart0,$(USEMODULE)))
|
2013-09-30 15:48:35 +02:00
|
|
|
USEMODULE += uart0
|
|
|
|
endif
|
2014-02-28 15:09:47 +01:00
|
|
|
ifeq (,$(filter timex,$(USEMODULE)))
|
|
|
|
USEMODULE += timex
|
|
|
|
endif
|
|
|
|
ifeq (,$(filter vtimer,$(USEMODULE)))
|
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
2013-09-30 15:48:35 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter lib,$(USEMODULE)))
|
2014-02-11 18:15:43 +01:00
|
|
|
USEMODULE += lib
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter posix,$(USEMODULE)))
|
2014-02-06 12:29:02 +01:00
|
|
|
USEMODULE += posix
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-15 12:48:11 +01:00
|
|
|
ifneq (,$(filter cc110x%,$(USEMODULE)))
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter protocol_multiplex,$(USEMODULE)))
|
2013-08-02 00:14:45 +02:00
|
|
|
USEMODULE += protocol_multiplex
|
2013-07-29 01:24:02 +02:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter vtimer,$(USEMODULE)))
|
2014-01-17 16:36:09 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
2013-07-29 01:24:02 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter cc110x_ng,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
2013-03-23 18:38:12 +01:00
|
|
|
USEMODULE += transceiver
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
|
|
|
endif
|
2013-06-25 15:33:40 +02:00
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter cc2420,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
2013-06-25 15:33:40 +02:00
|
|
|
USEMODULE += transceiver
|
2014-01-21 12:08:15 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter ieee802154,$(USEMODULE)))
|
2013-06-25 15:33:40 +02:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter at86rf231,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
2013-07-12 12:31:16 +02:00
|
|
|
USEMODULE += transceiver
|
2014-01-21 12:08:15 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter ieee802154,$(USEMODULE)))
|
2013-07-12 12:31:16 +02:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter vtimer,$(USEMODULE)))
|
2014-01-17 16:36:09 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
2013-07-12 12:31:16 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter destiny,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter sixlowpan,$(USEMODULE)))
|
2013-09-30 14:06:46 +02:00
|
|
|
USEMODULE += sixlowpan
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter net_help,$(USEMODULE)))
|
2013-09-30 14:06:46 +02:00
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter vtimer,$(USEMODULE)))
|
2014-01-17 16:36:09 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
2013-09-30 14:06:46 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-16 16:08:48 +01:00
|
|
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter sixlowpan,$(USEMODULE)))
|
|
|
|
USEMODULE += sixlowpan
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter ieee802154,$(USEMODULE)))
|
2013-06-25 15:33:40 +02:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifeq (,$(filter net_help,$(USEMODULE)))
|
2013-08-05 16:10:54 +02:00
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
2014-02-13 13:57:59 +01:00
|
|
|
ifeq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
USEMODULE += net_if
|
2013-11-02 18:39:23 +01:00
|
|
|
endif
|
2014-02-13 13:57:59 +01:00
|
|
|
ifeq (,$(filter semaphore, $(USEMODULE)))
|
|
|
|
USEMODULE += semaphore
|
2013-11-02 18:39:23 +01:00
|
|
|
endif
|
2014-02-13 13:57:59 +01:00
|
|
|
ifeq (,$(filter vtimer, $(USEMODULE)))
|
2014-01-17 16:36:09 +01:00
|
|
|
USEMODULE += vtimer
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter vtimer,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter timex,$(USEMODULE)))
|
2014-01-17 16:36:09 +01:00
|
|
|
USEMODULE += timex
|
|
|
|
endif
|
2013-06-25 15:33:40 +02:00
|
|
|
endif
|
2013-12-20 15:23:09 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
|
|
|
USEMODULE += transceiver
|
|
|
|
endif
|
|
|
|
endif
|
2013-12-25 18:28:11 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter shell_commands,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
USEMODULE += net_help
|
|
|
|
endif
|
|
|
|
endif
|