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

23 lines
623 B
Makefile
Raw Normal View History

INCLUDES += -I$(PKGDIRBASE)
INCLUDES += -I$(RIOTPKG)/fatfs/fatfs_diskio/mtd/include
2020-11-10 17:59:03 +01:00
INCLUDES += -I$(RIOTPKG)/fatfs/vendor/include
# native overwrites all INCLUDES
NATIVEINCLUDES += -I$(RIOTPKG)/fatfs/vendor/include
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/mtd
2017-05-12 17:46:09 +02:00
ifneq (,$(filter fatfs_vfs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_vfs
2017-05-12 17:46:09 +02:00
endif
#if periph_rtc is available use it. Otherwise use static timestamps
ifeq (,$(filter rtt_rtc periph_rtc,$(USEMODULE)))
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=1
else
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=0
endif
2019-10-18 08:23:02 +02:00
ifeq ($(OS),Darwin)
2017-09-22 14:52:51 +02:00
CFLAGS += -Wno-empty-body
endif