1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #515 from OlegHahm/vtimer_dependency

add vtimer dependencies to Makefile.dep
This commit is contained in:
Martin Lenders 2014-01-18 11:43:42 -08:00
commit 9286205287

View File

@ -1,13 +1,3 @@
ifneq (,$(findstring vtimer,$(USEMODULE)))
ifeq (,$(findstring hwtimer,$(USEMODULE)))
USEMODULE += hwtimer
endif
ifeq (,$(findstring timex,$(USEMODULE)))
USEMODULE += timex
endif
endif
ifneq (,$(findstring pnet, $(USEMODULE))) ifneq (,$(findstring pnet, $(USEMODULE)))
ifeq (,$(findstring posix, $(USEMODULE))) ifeq (,$(findstring posix, $(USEMODULE)))
USEMODULE += posix USEMODULE += posix
@ -36,6 +26,9 @@ ifneq (,$(findstring cc110x,$(USEMODULE)))
ifeq (,$(findstring protocol_multiplex,$(USEMODULE))) ifeq (,$(findstring protocol_multiplex,$(USEMODULE)))
USEMODULE += protocol_multiplex USEMODULE += protocol_multiplex
endif endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif endif
ifneq (,$(findstring cc110x_ng,$(USEMODULE))) ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
@ -59,6 +52,9 @@ ifneq (,$(findstring at86rf231,$(USEMODULE)))
USEMODULE += transceiver USEMODULE += transceiver
USEMODULE += ieee802154 USEMODULE += ieee802154
endif endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif endif
ifneq (,$(findstring destiny,$(USEMODULE))) ifneq (,$(findstring destiny,$(USEMODULE)))
@ -68,6 +64,9 @@ ifneq (,$(findstring destiny,$(USEMODULE)))
ifeq (,$(findstring net_help,$(USEMODULE))) ifeq (,$(findstring net_help,$(USEMODULE)))
USEMODULE += net_help USEMODULE += net_help
endif endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif endif
ifneq (,$(findstring sixlowpan,$(USEMODULE))) ifneq (,$(findstring sixlowpan,$(USEMODULE)))
@ -83,4 +82,16 @@ ifneq (,$(findstring sixlowpan,$(USEMODULE)))
ifeq (,$(findstring transceiver, $(USEMODULE))) ifeq (,$(findstring transceiver, $(USEMODULE)))
USEMODULE += transceiver USEMODULE += transceiver
endif endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(findstring vtimer,$(USEMODULE)))
ifeq (,$(findstring hwtimer,$(USEMODULE)))
USEMODULE += hwtimer
endif
ifeq (,$(findstring timex,$(USEMODULE)))
USEMODULE += timex
endif
endif endif