Line 171: |
Line 171: |
| There's a ''docker-build'' target in Makefile which builds CRIU in Ubuntu Docker container. Just run <code>make docker-build</code> and that's it. | | There's a ''docker-build'' target in Makefile which builds CRIU in Ubuntu Docker container. Just run <code>make docker-build</code> and that's it. |
| | | |
− | === Compilation with non-standard paths to dependencies === | + | === Non-standard compilation === |
| | | |
| <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> |
− | Here is an example of building natively specifying manually built dependencies.
| + | Building natively, but specifying built dependencies manually |
| <div class="mw-collapsible-content"> | | <div class="mw-collapsible-content"> |
| cd deps | | cd deps |
Line 186: |
Line 186: |
| </div> | | </div> |
| </div> | | </div> |
− |
| |
− | === Cross Compilation for ARM ===
| |
| | | |
| <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> |
| + | Cross Compilation for ARM |
| + | <div class="mw-collapsible-content"> |
| ARMv7 | | ARMv7 |
− | <div class="mw-collapsible-content">
| |
| cd deps | | cd deps |
| rsync -a --exclude=.git --exclude=deps .. criu-arm | | rsync -a --exclude=.git --exclude=deps .. criu-arm |
Line 201: |
Line 200: |
| PATH="`pwd`/../`uname -m`-linux-gnu/bin:$PATH" | | PATH="`pwd`/../`uname -m`-linux-gnu/bin:$PATH" |
| cd ../.. | | cd ../.. |
− | </div>
| |
− | </div>
| |
| | | |
− | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
| + | ARMv8 |
− | ARMv7
| |
− | <div class="mw-collapsible-content">
| |
| cd deps | | cd deps |
| rsync -a --exclude=.git --exclude=deps .. criu-aarch64 | | rsync -a --exclude=.git --exclude=deps .. criu-aarch64 |