mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
This commit is contained in:
parent
31e3e01fe4
commit
cffeb263b7
1 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue