Re: [Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-27 Thread Ross Lagerwall
On 09/23/2016 02:33 AM, Konrad Rzeszutek Wilk wrote: .snip.. diff --git a/xen/test/Makefile b/xen/test/Makefile index 8c53040..95c1755 100644 --- a/xen/test/Makefile +++ b/xen/test/Makefile @@ -1,6 +1,6 @@ .PHONY: tests tests: I am wondering if there is any way to use the -ifeq ($(XEN_TARGET

Re: [Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-23 Thread Julien Grall
Hi Konrad, On 23/09/16 02:33, Konrad Rzeszutek Wilk wrote: From c0dac442d15b5f0095b199ab4fff1fc414fb5719 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Mon, 19 Sep 2016 16:04:55 -0400 Subject: [PATCH v6] livepatch: tests: Make them compile under ARM64 We need to two things: 1) Wrap

Re: [Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-22 Thread Konrad Rzeszutek Wilk
.snip.. > > diff --git a/xen/test/Makefile b/xen/test/Makefile > > index 8c53040..95c1755 100644 > > --- a/xen/test/Makefile > > +++ b/xen/test/Makefile > > @@ -1,6 +1,6 @@ > > .PHONY: tests > > tests: > I am wondering if there is any way to use the > > -ifeq ($(XEN_TARGET_ARCH),x86_64) > > +ifne

Re: [Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-22 Thread Konrad Rzeszutek Wilk
On Thu, Sep 22, 2016 at 02:10:26PM +0100, Julien Grall wrote: > Hi Konrad, > > On 21/09/16 18:32, Konrad Rzeszutek Wilk wrote: > > We need to two things: > > 1) Wrap the platform-specific objcopy parameters in defines > >The input and output parameters for $(OBJCOPY) are different > >based

Re: [Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-22 Thread Julien Grall
Hi Konrad, On 21/09/16 18:32, Konrad Rzeszutek Wilk wrote: We need to two things: 1) Wrap the platform-specific objcopy parameters in defines The input and output parameters for $(OBJCOPY) are different based on the platforms. As such provide them in the OBJCOPY_MAGIC define and use tha

[Xen-devel] [PATCH v5 11/16] livepatch: tests: Make them compile under ARM64

2016-09-21 Thread Konrad Rzeszutek Wilk
We need to two things: 1) Wrap the platform-specific objcopy parameters in defines The input and output parameters for $(OBJCOPY) are different based on the platforms. As such provide them in the OBJCOPY_MAGIC define and use that. 2) The alternative is a bit different (exists only under A