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

55 lines
1.2 KiB
Makefile
Raw Normal View History

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
2019-12-18 11:56:23 +01:00
ifeq (,$(filter stdio_%,$(USEMODULE)))
USEMODULE += stdio_native
endif
ifneq (,$(filter periph_rtc,$(USEMODULE)))
USEMODULE += ztimer
USEMODULE += ztimer_msec
endif
ifneq (,$(filter eui_provider,$(USEMODULE)))
USEMODULE += native_cli_eui_provider
endif
ifneq (,$(filter native_cli_eui_provider,$(USEMODULE)))
USEMODULE += l2util
endif
2021-09-29 00:09:15 +02:00
ifneq (,$(filter socket_zep,$(USEMODULE)))
USEMODULE += iolist
USEMODULE += checksum
USEMODULE += random
USEMODULE += ieee802154
ifneq (,$(filter netdev,$(USEMODULE)))
USEMODULE += netdev_ieee802154_submac
endif
endif
ifneq (,$(filter netdev_tap,$(USEMODULE)))
2024-11-20 23:37:30 +01:00
USEMODULE += netdev_new_api
endif
ifneq (,$(filter libc_gettimeofday,$(USEMODULE)))
USEMODULE += ztimer64_usec
endif
USEMODULE += periph
# UART is needed by startup.c
USEMODULE += periph_uart