mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
83 lines
1.5 KiB
Makefile
83 lines
1.5 KiB
Makefile
ifneq (,$(filter libcoap,$(USEPKG)))
|
|
USEMODULE += pnet
|
|
endif
|
|
|
|
ifneq (,$(filter pnet,$(USEMODULE)))
|
|
USEMODULE += posix
|
|
USEMODULE += destiny
|
|
USEMODULE += net_help
|
|
endif
|
|
|
|
ifneq (,$(filter destiny,$(USEMODULE)))
|
|
USEMODULE += sixlowpan
|
|
USEMODULE += net_help
|
|
USEMODULE += vtimer
|
|
endif
|
|
|
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
|
USEMODULE += sixlowpan
|
|
endif
|
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
|
USEMODULE += routing
|
|
endif
|
|
|
|
ifneq (,$(filter routing,$(USEMODULE)))
|
|
USEMODULE += sixlowpan
|
|
endif
|
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|
USEMODULE += ieee802154
|
|
USEMODULE += net_help
|
|
USEMODULE += net_if
|
|
USEMODULE += posix
|
|
USEMODULE += vtimer
|
|
endif
|
|
|
|
ifneq (,$(filter posix,$(USEMODULE)))
|
|
USEMODULE += uart0
|
|
USEMODULE += timex
|
|
USEMODULE += vtimer
|
|
endif
|
|
|
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
|
USEMODULE += lib
|
|
USEMODULE += posix
|
|
endif
|
|
|
|
ifneq (,$(filter cc110x%,$(USEMODULE)))
|
|
USEMODULE += protocol_multiplex
|
|
USEMODULE += vtimer
|
|
endif
|
|
|
|
ifneq (,$(filter cc110x_ng,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
endif
|
|
|
|
ifneq (,$(filter cc2420,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
USEMODULE += ieee802154
|
|
endif
|
|
|
|
ifneq (,$(filter at86rf231,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
USEMODULE += ieee802154
|
|
USEMODULE += vtimer
|
|
endif
|
|
|
|
ifneq (,$(filter vtimer,$(USEMODULE)))
|
|
USEMODULE += timex
|
|
endif
|
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
endif
|
|
|
|
ifneq (,$(filter shell_commands,$(USEMODULE)))
|
|
USEMODULE += net_help
|
|
endif
|
|
|
|
ifneq (,$(filter ccn_lite,$(USEMODULE)))
|
|
USEMODULE += crypto
|
|
endif
|