From c13be69a8e5c453d9eb59cea070c355964a5b09e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 15 Oct 2015 00:46:39 +0300 Subject: [PATCH] lib/libffi: Add libffi as a submodule. This allows to build libffi from source together with micropython, and is useful for cross-compilation. Support for this was already merged previously, to use: make libffi make MICROPY_STANDALONE=1 (To both commands appropriate cross-compilition flags can be added). --- .gitmodules | 3 +++ lib/libffi | 1 + 2 files changed, 4 insertions(+) create mode 160000 lib/libffi diff --git a/.gitmodules b/.gitmodules index 46644cc883..f12681b6b7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,6 @@ path = lib/axtls url = https://github.com/pfalcon/axtls branch = micropython +[submodule "lib/libffi"] + path = lib/libffi + url = https://github.com/atgreen/libffi diff --git a/lib/libffi b/lib/libffi new file mode 160000 index 0000000000..e9de7e35f2 --- /dev/null +++ b/lib/libffi @@ -0,0 +1 @@ +Subproject commit e9de7e35f2339598b16cbb375f9992643ed81209