summaryrefslogtreecommitdiff
path: root/py/mkenv.mk
AgeCommit message (Collapse)Author
2017-05-29various: Spelling fixesVille Skyttä
2017-05-19py/mkenv.mk: Use $(TOP) instead of ".." to reference tools, mpy-cross.Damien George
2016-11-08py: Move frozen bytecode Makefile rules from ports to common mk files.Damien George
Now, to use frozen bytecode all a port needs to do is define FROZEN_MPY_DIR to the directory containing the .py files to freeze, and define MICROPY_MODULE_FROZEN_MPY and MICROPY_QSTR_EXTRA_POOL.
2016-09-17py: Move frozen modules rules from esp8266 port for reuse across ports.Paul Sokolovsky
A port now just needs to define FROZEN_DIR var and add $(BUILD)/frozen.c to SRC_C to support frozen modules.
2016-04-21py/mkenv.mk: Remove -s and -S args from PYTHON variable.Damien George
Qstr auto-generation is now much faster so this optimisation for start-up time is no longer needed. And passing "-s -S" breaks some things, like stmhal's "make deploy".
2016-04-17py/mkenv.mk: Optimize Python startup type during make process.Paul Sokolovsky
By skipping loading site.py, etc.
2015-10-12py: Allow to to build MicroPython as a static library.Paul Sokolovsky
The whole current port gets slurped into a static lib named "libmicropython.a". Maybe that's not ideal, but at least something to start with.
2015-08-29py: Treat -m32 flag as part of CC, LD, etc.Paul Sokolovsky
Indeed, this flag efectively selects architecture target, and must consistently apply to all compiles and links, including 3rd-party libraries, unlike CFLAGS, which have MicroPython-specific setting.
2014-06-07py, mk: Revert change where build variables set with ?=.Damien George
?= operator does not do delayed expansion (unlike =).
2014-06-07- Let the build environment decide about the toolchain to be used, in caseMarcus von Appen
there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc.
2014-04-16Have make remove targets if a recipie fails.Dave Hylands
2014-04-07Replace some Makefile commands with variables in py/mkenv.mkAndrew Scheller
2014-01-24Rework makefiles. Add proper dependency checking.Dave Hylands