mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
24 lines
488 B
Makefile
24 lines
488 B
Makefile
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
|
ifeq (,$(filter socket_zep,$(USEMODULE)))
|
|
USEMODULE += netdev_tap
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
|
USEMODULE += mtd_native
|
|
endif
|
|
|
|
ifneq (,$(filter periph_can,$(FEATURES_USED)))
|
|
ifeq ($(OS),Linux)
|
|
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
|