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 ifneq (,$(filter lvgl,$(USEPKG))) USEPKG += lv_drivers USEMODULE += lv_drivers_sdl endif USEMODULE += native_drivers