[CRIU] [PATCH] build: simplify ppc64 builds

Christopher Covington cov at codeaurora.org
Wed Mar 2 07:57:18 PST 2016


On 02/23/2016 11:09 AM, Cyrill Gorcunov wrote:
> On Mon, Feb 22, 2016 at 02:48:27PM +0100, Laurent Dufour wrote:
>> Since the move to nmk, zdtm failed to build on ppc64 because ARCH is
>> computed in the nmk and set to powerpc.
>> In fact it seems more efficient to set it to ppc64 when this is ppc64
>> or ppc64le since these 2 architecture should be handled the same way.
>>
>> Doing this fixes the zdtm build issue and simplify a bit the others
>> makefiles.
>>
>> Cc: Cyrill Gorcunov <gorcunov at gmail.com>
>> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
>> ---
>>  Makefile                       |  2 +-
>>  criu/Makefile                  |  3 +--
>>  scripts/nmk/scripts/include.mk |  2 +-
>>  test/zdtm/Makefile.inc         | 11 -----------
>>  4 files changed, 3 insertions(+), 15 deletions(-)
> 
> Laurent, look I would really love to stick with
> powerpc instead, that's how it goes in linux kernel
> which I prefer to follow on. That said I also think
> we might move arch/ppc64 to arch/powerpc. Would
> it be hard to go this way? Or there some strong
> arguments against? What do you think? Pavel?

For the record, aarch64, which CRIU uses, is not what's used by the
Linux kernel.

Cov
-- 
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list