1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/native/Makefile.dep

24 lines
488 B
Makefile
Raw Normal View History

ifneq (,$(filter netdev_default,$(USEMODULE)))
ifeq (,$(filter socket_zep,$(USEMODULE)))
USEMODULE += netdev_tap
endif
endif
ifneq (,$(filter mtd,$(USEMODULE)))
2017-09-06 16:09:38 +02:00
USEMODULE += mtd_native
endif
ifneq (,$(filter periph_can,$(FEATURES_USED)))
2019-10-18 08:23:02 +02:00
ifeq ($(OS),Linux)
2017-09-06 16:09:38 +02:00
CFLAGS += -DCAN_DLL_NUMOF=2
endif
endif
# default to using littlefs2 on the virtual flash
ifneq (,$(filter vfs_default,$(USEMODULE)))
USEPKG += littlefs2
USEMODULE += mtd
endif
USEMODULE += native_drivers