1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/Makefile.dep
benpicco 029ae8c7d2
Merge pull request #14766 from benpicco/cpu/native-rtc_set_alarm
cpu/native: RTC: implement rtc_set_alarm()
2020-08-28 17:39:47 +02:00

27 lines
582 B
Makefile

ifeq ($(OS),Linux)
ifneq (,$(filter periph_gpio,$(USEMODULE)))
ifeq (,$(filter periph_gpio_mock,$(USEMODULE)))
USEMODULE += periph_gpio_linux
endif
endif
ifneq (,$(filter periph_spi,$(USEMODULE)))
USEMODULE += periph_spidev_linux
endif
else
ifneq (,$(filter periph_gpio,$(USEMODULE)))
USEMODULE += periph_gpio_mock
endif
endif
ifeq (,$(filter stdio_%,$(USEMODULE)))
USEMODULE += stdio_native
endif
ifeq (,$(filter periph_rtc,$(USEMODULE)))
USEMODULE += xtimer
endif
USEMODULE += periph
# UART is needed by startup.c
USEMODULE += periph_uart