Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Ning <ning.a.zhang@intel.com>2019-04-04 05:22:32 +0300
committerAndrei Vagin <avagin@gmail.com>2019-04-21 06:25:26 +0300
commitcffeb263b7a79d6ff4c2f01e479365338f80307e (patch)
treec6632faa635493413841df16a61593d22d1b297c /Documentation
parent31e3e01fe49c0f19fd8eda62a5bf5322c3bb38e5 (diff)
Add notes for Android NDK cross compile
some notes for Android NDK cross compile. Signed-off-by: Zhang Ning <ning.a.zhang@intel.com> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/HOWTO.cross-compile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/HOWTO.cross-compile b/Documentation/HOWTO.cross-compile
index 749c08113..f1b17842b 100644
--- a/Documentation/HOWTO.cross-compile
+++ b/Documentation/HOWTO.cross-compile
@@ -29,3 +29,11 @@ This HOWTO explains how to cross-compile CRIU on x86
13. Compile CRIU:
ARCH=<target arch> CROSS_COMPILE=$TARGET- CFLAGS=`pkg-config --cflags libprotobuf-c` LDFLAGS="`pkg-config --libs libprotobuf-c`" make
+
+Special notes for Android NDK cross compile:
+
+1, Android NDK doesn't have some headers required by CRIU build, they are <aio.h>, <sys/fanotify.h>
+
+2, Android NDK doesn't have some function required by CRIU build, they are aio*, fanotify_init, fanotify_mark, povit_root, index.
+
+3, in order to pass build with Android NDK, you implement them yourself, and link them to CRIU.