[CRIU] [PATCH 0/6] make: Cleanup per-arch build options

Dmitry Safonov 0x7f454c46 at gmail.com
Tue Apr 25 03:25:24 PDT 2017


2017-04-25 11:42 GMT+03:00 Brinkmann, Harald
<Harald.Brinkmann at bst-international.com>:
>
> Hello all,
>
> On Mon, 2017-04-24 at 16:19 -0700, Andrei Vagin wrote:
>> Applied, thanks!
>> On Mon, Apr 24, 2017 at 09:37:13PM +0300, Dmitry Safonov wrote:
>> > There is a fix for cross-compile issue for arm32 target.
>> > While formatting it, I cleaned a bit per-arch Makefile options.
>> > In result all per-arch part of Makefile is visible on just a single
>> > terminal emulator window* ;)
>> >
>> > *on my 44 lines setup
>> >
>> > Cc: Cyrill Gorcunov <gorcunov at openvz.org>
>> >
>> > Dmitry Safonov (6):
>> >   make: use aarch64 name for 64-bit ARM platform
>> >   build/nmk: rename arm64 => aarch64
>> >   make: drop SRCARCH redefinition
>> >   make: separate supported architecture checks
>> >   make: combine arch-specific options together
>> >   make: keep HOSTCFLAGS clean from target cflags
>> >
>> >  Makefile                       | 83 ++++++++++++++----------------------------
>> >  scripts/nmk/scripts/include.mk |  2 +-
>> >  2 files changed, 29 insertions(+), 56 deletions(-)
>> >
>> > --
>> > 2.12.2
>
> Just to let you know: With the latest criu-dev git commit I can now get
> criu to successfully dump and restore the the Simple Loop example test
> process on the website using ptxdist cross-compilation.
>
> Now all I need to do is getting it to work on the process I really want
> to save and restore... :-)

Awesome! Thanks for reports.
If you want and have some time - you can send patches to fix
Documentation/HOWTO.cross-compile ;-)

> Thanks
>

-- 
             Dmitry


More information about the CRIU mailing list