aboutsummaryrefslogtreecommitdiff
path: root/unix/Makefile
AgeCommit message (Collapse)Author
2016-04-08unix: freedos strip and size names for binariespohmelie
After this you need only one path for build (path/to/djgpp/bin). Original patch made by @dhylands
2016-02-15extmod/vfs_fat_ffconf: Reusable FatFs module, move from stmhal/ffconf.Paul Sokolovsky
TODO: Probably merge into vfs_fat_diskio.
2016-02-15extmod/vfs_fat_file: Reusable FatFs module, move from stmhal/file.Paul Sokolovsky
2016-02-15extmod/vfs_fat_diskio: Reusable FatFs module, move from stmhal/diskio.Paul Sokolovsky
2016-02-14unix: Enable VfsFat support.Paul Sokolovsky
2016-01-28lib/utils/printf: Fix printf on release buildsDave Hylands
When using newer glibc's the compiler automatically sets _FORTIFY_SOURCE when building with -O1 and this causes a special inlined version of printf to be declared which then bypasses our version of printf.
2016-01-26extmod/modurandom: Add some extra random functions.Damien George
Functions added are: - randint - randrange - choice - random - uniform They are enabled with configuration variable MICROPY_PY_URANDOM_EXTRA_FUNCS, which is disabled by default. It is enabled for unix coverage build and stmhal.
2016-01-15unix/modffi: Allow to compile modffi in OBJ_REPR_D mode.Damien George
2016-01-15unix: Add option to build 64-bit NaN-boxing interpreter.Damien George
Build using: make nanbox
2016-01-02unix/Makefile: Move include of mpconfigport.mk to before mkenv.mk.Damien George
So that if MICROPY_FORCE_32BIT is set mpconfigport.mk it influences mkenv.mk.
2015-12-16unix: Add FreeDos targetpohmelie
2015-12-13unix: Move modmachine into unix directoryDave Hylands
This leaves behind the common functionality in extmod/machine_mem.c which can be used by all ports.
2015-11-22unix: Use printf() implementation in terms of mp_printf().Paul Sokolovsky
In other words, unix port now uses overriden printf(), instead of using libc's. This should remove almost all dependency on libc stdio (which is bloated).
2015-11-17unix: Add "uselect" module, with poll() function.Paul Sokolovsky
Underlyingly, uses standard POSIX poll() for portability.
2015-10-19libffi: Skip building docs.Paul Sokolovsky
This requires makeinfo installed and wastes time (especially in CI).
2015-10-19all: Make netutils.h available to all ports by default.Paul Sokolovsky
Generally, ports should inherit INC from py.mk, append to it, not overwrite it. TODO: Likely should do the same for other vars too.
2015-10-18unix: Build libffi in a directory which is gitgnored.Paul Sokolovsky
To avoid "-dirty" version previous and spurious "modified" output from git status, etc.
2015-10-04unix: Add support for building axtls dependency lib.Paul Sokolovsky
2015-09-11unix/modjni: "jni" module to interface to JNI-compliant JavaVM.Paul Sokolovsky
This includes Android Dalvik VM for example. Example usage: import jni System = jni.cls("java/lang/System") System.out.println("Hello, Java!")
2015-08-30unix: Allow to build libffi from source and link against it.Paul Sokolovsky
Linking against local libffi (and other libs in future) is triggered by "make MICROPY_STANDALONE=1". Before that, dependent libs should be built with "make deplibs".
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.
2015-06-03unix: Prepare upip frozen modules under build/.Paul Sokolovsky
2015-06-03unix: Uncompress upip tarball to build directory.Paul Sokolovsky
2015-06-02unix: Include upip as fronzen modules inside the standard interpreter.Paul Sokolovsky
MicroPython doesn't come with standard library included, so it is important to be able to easily install needed package in a seamless manner. Bundling package manager (upip) inside an executable solves this issue. upip is bundled only with standard executable, not "minimal" or "fast" builds.
2015-05-30unix: minimal: Don't use readline support.Paul Sokolovsky
After switching to builtin readline support, "minimal" no longer builds, and minimal doesn't really need readline support.
2015-05-27unix: Add option to use uPy readline, and enable by default.Damien George
This gets uPy readline working with unix port, with tab completion and history. GNU readline is still supported, configure using MICROPY_USE_READLINE variable.
2015-05-27unix: Factor out stdio and ctrl-C code to unix_mphal.c file.Damien George
2015-05-08unix: Add special function to improve coverage.Damien George
The function and corresponding command-line option are only enabled for the coverage build. They are used to exercise uPy features that can't be properly tested by Python scripts.
2015-03-22unix: Remove -Wdouble-promotion from main build, and 2 from coverage.Damien George
The 2 removed from coverage build are: -Wredundant-decls and -Wstrict-prototypes.
2015-03-21unix: When using separate obj output dirs, make -B is no longer relevant.Paul Sokolovsky
2015-03-20unix: Move compiler warnings from production build to coverage build.Damien George
2015-03-19unix: Enable extra compiler warnings.Damien George
To address issue #699.
2015-03-01travis: Add automated coverage testing using coveralls.Damien George
2015-01-29unix: Add "coverage" target to do coverage testing using gcov.Damien George
2015-01-16unix: Add target to build "minimal" uPy interpreter.Damien George
2015-01-08Remove obsolete bss-related code/build featuresstijn
GC for unix/windows builds doesn't make use of the bss section anymore, so we do not need the (sometimes complicated) build features and code related to it
2015-01-03unix: Enable -fno-crossjumping for fast build.Paul Sokolovsky
Confirmed that it improves perfomance of simple "for i in range(N): pass" loop by 15% on Core2.
2015-01-01unix: Prefix includes with py/; remove need for -I../py.Damien George
2014-12-27Makefiles: Support py/*.h includes per #1022.Paul Sokolovsky
2014-11-02unix: Provide "fast" target to build interpreter for benchmarking.Paul Sokolovsky
This build is primarily intended for benchmarking, and may have random features enabled/disabled to get high scores in synthetic benchmarks. The intent is to show/prove that MicroPython codebase can compete with CPython, when configured appropriately. But the main MicroPython aim still remains to optimize for memory usage (which inevitibly leads to performance degradation in some areas on some workloads).
2014-10-29Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*stijn
2014-10-11unix: Add comment about needed dependencies for MICROPY_FORCE_32BIT.Paul Sokolovsky
2014-09-23Clean up logical flow for setting LDFLAGS to build for Linux and OSXblmorris
Add more specific comments describing what is going on.
2014-09-22Incorporate change in assignment logic suggested by dhylandsblmorris
2014-09-22Fix unix/Makefile to build on OSXblmorris
Force OSX to compile with clang even if gcc is available Change LDFLAGS syntax to be compatible with clang Fix questionable syntax on line 90 Remove extraneous tab character
2014-09-06unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning.Damien George
For the sake of older versions of gcc (and other compilers), don't use the #warning CPP directive, nor the -Wno-error=cpp option. Also, fix a strict alias warning in modffi.c for older compilers, and add a test for ffi module. Addresses issue #847.
2014-09-03Code style/whitespace cleanup; remove obsolete headers.Damien George
And move the MAP_ANON redefinition from py/asmx64.c to unix/alloc.c.
2014-09-03Add cache flush in py/asmarm.c and add new MP_PLAT_ALLOC_EXEC and ↵Fabian Vogt
MP_PLAT_FREE_EXEC macros Fixes issue #840
2014-08-26Add pip-micropython to unix make install.Damien George
Also add -t/--target option to pip-micropython to allowing installing to the pyboard. Thanks to turbinenreiter/Sebastian Plamauer for the patch.
2014-08-23modtermios: Add "termios" unix module, subset of CPython's.Paul Sokolovsky
Also provides setraw() function from "tty" module (which in CPython is implemented in Python). The idea here is that 95% of "termios" module usage is to set raw mode to allow access to normal serial devices. Then, instead of exporting gazillion termios symbols, it's better to implement it in C, and export minimal number of symbols (mostly baud rates and drain values).