mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6dff3cbbaa
This aligns Makefile-based and Kconfig-based dependency resolution.
12 lines
289 B
Makefile
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
|