1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/Makefile.dep

129 lines
2.7 KiB
Makefile
Raw Normal View History

2014-02-19 03:18:46 +01:00
ifneq (,$(filter libcoap,$(USEPKG)))
ifeq (,$(filter pnet,$(USEMODULE)))
USEMODULE += pnet
endif
endif
ifneq (,$(filter pnet,$(USEMODULE)))
ifeq (,$(filter posix,$(USEMODULE)))
2013-09-30 15:48:35 +02:00
USEMODULE += posix
endif
ifeq (,$(filter destiny,$(USEMODULE)))
2013-09-30 15:48:35 +02:00
USEMODULE += destiny
endif
ifeq (,$(filter net_help,$(USEMODULE)))
2013-09-30 15:48:35 +02:00
USEMODULE += net_help
endif
endif
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
ifneq (,$(filter uart0,$(USEMODULE)))
ifeq (,$(filter lib,$(USEMODULE)))
USEMODULE += lib
endif
ifeq (,$(filter posix,$(USEMODULE)))
2014-02-06 12:29:02 +01:00
USEMODULE += posix
endif
endif
2014-02-15 12:48:11 +01:00
ifneq (,$(filter cc110x%,$(USEMODULE)))
ifeq (,$(filter protocol_multiplex,$(USEMODULE)))
USEMODULE += protocol_multiplex
2013-07-29 01:24:02 +02:00
endif
ifeq (,$(filter vtimer,$(USEMODULE)))
USEMODULE += vtimer
endif
2013-07-29 01:24:02 +02:00
endif
ifneq (,$(filter cc110x_ng,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
endif
ifneq (,$(filter cc2420,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
ifeq (,$(filter ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
endif
ifneq (,$(filter at86rf231,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
ifeq (,$(filter ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
ifeq (,$(filter vtimer,$(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(filter destiny,$(USEMODULE)))
ifeq (,$(filter sixlowpan,$(USEMODULE)))
2013-09-30 14:06:46 +02:00
USEMODULE += sixlowpan
endif
ifeq (,$(filter net_help,$(USEMODULE)))
2013-09-30 14:06:46 +02:00
USEMODULE += net_help
endif
ifeq (,$(filter vtimer,$(USEMODULE)))
USEMODULE += vtimer
endif
2013-09-30 14:06:46 +02:00
endif
ifneq (,$(filter sixlowborder,$(USEMODULE)))
ifeq (,$(filter sixlowpan,$(USEMODULE)))
USEMODULE += sixlowpan
endif
endif
ifneq (,$(filter sixlowpan,$(USEMODULE)))
ifeq (,$(filter ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
ifeq (,$(filter net_help,$(USEMODULE)))
2013-08-05 16:10:54 +02:00
USEMODULE += net_help
endif
ifeq (,$(filter net_if,$(USEMODULE)))
USEMODULE += net_if
2013-11-02 18:39:23 +01:00
endif
ifeq (,$(filter semaphore, $(USEMODULE)))
USEMODULE += semaphore
2013-11-02 18:39:23 +01:00
endif
ifeq (,$(filter vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(filter vtimer,$(USEMODULE)))
ifeq (,$(filter timex,$(USEMODULE)))
USEMODULE += timex
endif
endif
2013-12-20 15:23:09 +01:00
ifneq (,$(filter net_if,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
endif
ifneq (,$(filter shell_commands,$(USEMODULE)))
ifneq (,$(filter net_if,$(USEMODULE)))
USEMODULE += net_help
endif
endif