py/py.mk: Add CFLAGS_MOD flag to set config file for FatFs.

This commit is contained in:
Damien George 2017-01-24 20:54:08 +11:00
parent 9b08faf3ae
commit d4464b0050
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ CSUPEROPT = -O3
INC += -I../lib
INC += -I../lib/netutils
# this sets the config file for FatFs
CFLAGS_MOD += -DFFCONF_H=\"lib/oofatfs/ffconf.h\"
ifeq ($(MICROPY_PY_USSL),1)
CFLAGS_MOD += -DMICROPY_PY_USSL=1
ifeq ($(MICROPY_SSL_AXTLS),1)