[Xen-devel] [XEN PATCH v3 20/23] xen/build: factorise generation of the linker scripts

2020-02-26 Thread Anthony PERARD
In Arm and X86 makefile, generating the linker script is the same, so we can simply have both call the same macro. We need to add *.lds files into extra-y so that Rules.mk can find the .*.cmd dependency file and load it. Signed-off-by: Anthony PERARD --- xen/Rules.mk | 8 xen/

Re: [Xen-devel] [XEN PATCH v3 20/23] xen/build: factorise generation of the linker scripts

2020-02-27 Thread Roger Pau Monné
On Wed, Feb 26, 2020 at 11:33:52AM +, Anthony PERARD wrote: > In Arm and X86 makefile, generating the linker script is the same, so > we can simply have both call the same macro. > > We need to add *.lds files into extra-y so that Rules.mk can find the > .*.cmd dependency file and load it. >

Re: [Xen-devel] [XEN PATCH v3 20/23] xen/build: factorise generation of the linker scripts

2020-03-05 Thread Jan Beulich
On 26.02.2020 12:33, Anthony PERARD wrote: > --- a/xen/Rules.mk > +++ b/xen/Rules.mk > @@ -230,6 +230,14 @@ cmd_s_S = $(CPP) $(filter-out -Wa$(comma)%,$(a_flags)) > $< -o $@ > %.s: %.S FORCE > $(call if_changed,cpp_s_S) > > +# Linker scripts, .lds.S -> .lds > +quiet_cmd_cc_lds_S = LDS

Re: [Xen-devel] [XEN PATCH v3 20/23] xen/build: factorise generation of the linker scripts

2020-03-05 Thread Jan Beulich
On 27.02.2020 14:14, Roger Pau Monné wrote: > On Wed, Feb 26, 2020 at 11:33:52AM +, Anthony PERARD wrote: >> In Arm and X86 makefile, generating the linker script is the same, so >> we can simply have both call the same macro. >> >> We need to add *.lds files into extra-y so that Rules.mk can f

Re: [Xen-devel] [XEN PATCH v3 20/23] xen/build: factorise generation of the linker scripts

2020-03-18 Thread Anthony PERARD
On Thu, Mar 05, 2020 at 12:05:02PM +0100, Jan Beulich wrote: > On 26.02.2020 12:33, Anthony PERARD wrote: > > --- a/xen/Rules.mk > > +++ b/xen/Rules.mk > > @@ -230,6 +230,14 @@ cmd_s_S = $(CPP) $(filter-out -Wa$(comma)%,$(a_flags)) > > $< -o $@ > > %.s: %.S FORCE > > $(call if_changed,cpp_s_S