genode/repos/libports/lib/mk/fatfs_block.mk
Emery Hemingway f09fc4a5a2 Update FatFS port to version 0.13
- Update FatFS port from 0.07e to 0.13
- Multi-device support
- Basic test at run/fatfs
- Adaption of existing components

Note, ffat is now consistently renamed to fatfs.

Ref #2410
2017-08-17 11:04:22 +02:00

18 lines
446 B
Makefile

#
# FAT File System Module using a Block session as disk I/O backend
#
FATFS_PORT_DIR := $(call select_from_ports,fatfs)
FATFS_PORT_SRC_DIR := $(FATFS_PORT_DIR)/src/lib/fatfs/source
FATFS_LOCAL_SRC_DIR := $(REP_DIR)/src/lib/fatfs
INC_DIR += $(REP_DIR)/include/fatfs $(FATFS_PORT_DIR)/include
SRC_C = ff.c ffunicode.c
SRC_CC = diskio_block.cc
CC_OPT += -Wno-unused-variable
vpath % $(FATFS_LOCAL_SRC_DIR)
vpath % $(FATFS_PORT_SRC_DIR)