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
Alexandre Abadie 9464c34467
pkg: don't copy Makefile in package build directory
Instead use the '-f' option of the make command
2020-06-12 18:44:48 +02:00

21 lines
486 B
Makefile

INCLUDES += -I$(PKGDIRBASE)
INCLUDES += -I$(RIOTPKG)/fatfs/fatfs_diskio/mtd/include
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/mtd
ifneq (,$(filter fatfs_vfs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_vfs
endif
#if periph_rtc is available use it. Otherwise use static timestamps
ifneq (,$(filter periph_rtc,$(USEMODULE)))
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=0
else
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=1
endif
ifeq ($(OS),Darwin)
CFLAGS += -Wno-empty-body
endif