You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
2.4 KiB

ifneq (,$(findstring pnet, $(USEMODULE)))
ifeq (,$(findstring posix, $(USEMODULE)))
USEMODULE += posix
endif
ifeq (,$(findstring destiny, $(USEMODULE)))
USEMODULE += destiny
endif
ifeq (,$(findstring net_help, $(USEMODULE)))
USEMODULE += net_help
endif
endif
ifneq (,$(findstring posix, $(USEMODULE)))
ifeq (,$(findstring uart0, $(USEMODULE)))
USEMODULE += uart0
endif
endif
ifneq (,$(findstring uart0,$(USEMODULE)))
ifeq (,$(findstring lib,$(USEMODULE)))
USEMODULE += lib
endif
ifeq (,$(findstring posix,$(USEMODULE)))
USEMODULE += posix
endif
endif
ifneq (,$(findstring cc110x,$(USEMODULE)))
ifeq (,$(findstring protocol_multiplex,$(USEMODULE)))
USEMODULE += protocol_multiplex
endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
ifeq (,$(findstring transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
ifeq (,$(findstring hwtimer,$(USEMODULE)))
USEMODULE += hwtimer
endif
endif
ifneq (,$(findstring cc2420,$(USEMODULE)))
ifeq (,$(findstring transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
ifeq (,$(findstring ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
endif
ifneq (,$(findstring at86rf231,$(USEMODULE)))
ifeq (,$(findstring transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
ifeq (,$(findstring ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(findstring destiny,$(USEMODULE)))
ifeq (,$(findstring sixlowpan,$(USEMODULE)))
USEMODULE += sixlowpan
endif
ifeq (,$(findstring net_help,$(USEMODULE)))
USEMODULE += net_help
endif
ifeq (,$(findstring vtimer, $(USEMODULE)))
USEMODULE += vtimer
endif
endif
ifneq (,$(findstring sixlowpan,$(USEMODULE)))
ifeq (,$(findstring ieee802154,$(USEMODULE)))
USEMODULE += ieee802154
endif
ifeq (,$(findstring net_help,$(USEMODULE)))
USEMODULE += net_help
endif
ifeq (,$(findstring semaphore, $(USEMODULE)))
USEMODULE += semaphore
endif
ifeq (,$(findstring transceiver, $(USEMODULE)))
USEMODULE += transceiver
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