2016-11-07 21:34:08 +01:00
|
|
|
INCLUDES += -I$(PKGDIRBASE)
|
2017-05-15 15:21:29 +02:00
|
|
|
INCLUDES += -I$(RIOTPKG)/fatfs/fatfs_diskio/common/include
|
2016-11-07 21:34:08 +01:00
|
|
|
DIRS += $(PKGDIRBASE)/fatfs
|
|
|
|
|
2017-05-15 15:21:29 +02:00
|
|
|
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/common
|
|
|
|
|
2016-11-07 21:34:08 +01:00
|
|
|
ifneq (,$(filter fatfs_diskio_native,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/native
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter fatfs_diskio_sdcard_spi,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/sdcard_spi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(shell uname -s),Darwin)
|
2017-09-22 14:52:51 +02:00
|
|
|
CFLAGS += -Wno-empty-body
|
2016-11-07 21:34:08 +01:00
|
|
|
endif
|