summaryrefslogtreecommitdiff
path: root/py/py.mk
diff options
context:
space:
mode:
authorDelio Brignoli <brignoli.delio@gmail.com>2016-08-21 11:33:37 +0200
committerDamien George <damien.p.george@gmail.com>2016-09-05 12:18:53 +1000
commite2ac8bb3f14b076a29244022865e3b47c6c0800a (patch)
treeba02f53ca3f6b488084df68d78e1d5dd9ee99d46 /py/py.mk
parentcac8dc34149686679b67037d393d3ea1c6aff779 (diff)
py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
This new config option allows to control whether MicroPython uses its own internal printf or not (if not, an external one should be linked in). Accompanying this new option is the inclusion of lib/utils/printf.c in the core list of source files, so that ports no longer need to include it themselves.
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/py.mk b/py/py.mk
index abea7215b..37b98de92 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -223,6 +223,7 @@ PY_O_BASENAME = \
../extmod/vfs_fat_misc.o \
../extmod/moduos_dupterm.o \
../lib/embed/abort_.o \
+ ../lib/utils/printf.o \
# prepend the build destination prefix to the py object files
PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME))