summaryrefslogtreecommitdiff
path: root/py/py.mk
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-11-16 16:04:57 +1100
committerDamien George <damien.p.george@gmail.com>2016-11-16 18:13:50 +1100
commit6b239c271c9c7041f9741c2a0f348f350808ad8a (patch)
tree32f8c5a9a114d2149409d020c889a8dc2b16a03b /py/py.mk
parent6810f2c134f9329e9dc18f4e0d3a1936ca6d8011 (diff)
py: Factor out persistent-code reader into separate files.
Implementations of persistent-code reader are provided for POSIX systems and systems using FatFS. Macros to use these are MICROPY_READER_POSIX and MICROPY_READER_FATFS respectively. If an alternative implementation is needed then a port can define the function mp_reader_new_file.
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/py.mk b/py/py.mk
index b0962d178..4630c21a9 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -113,6 +113,7 @@ PY_O_BASENAME = \
mpprint.o \
unicode.o \
mpz.o \
+ reader.o \
lexer.o \
lexerstr.o \
lexerunix.o \
@@ -228,6 +229,7 @@ PY_O_BASENAME = \
../extmod/vfs_fat_ffconf.o \
../extmod/vfs_fat_diskio.o \
../extmod/vfs_fat_file.o \
+ ../extmod/vfs_fat_reader.o \
../extmod/vfs_fat_lexer.o \
../extmod/vfs_fat_misc.o \
../extmod/utime_mphal.o \