1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/littlefs2/Makefile.include
Jue 6dff3cbbaa pkg/littlefs2: allow VFS/MTD driver opt-out
This aligns Makefile-based and Kconfig-based dependency resolution.
2022-03-30 12:03:30 +02:00

12 lines
289 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/littlefs2
ifneq (,$(filter littlefs2_fs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/littlefs2/fs
endif
# Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default)
CFLAGS += -DLFS_NAME_MAX=31
# avoid compilation errors when NDEBUG is defined
CFLAGS += -DLFS_NO_ASSERT