Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-02-17 Thread Julien Grall
Hi Anthony, On 25/01/2022 11:00, Anthony PERARD wrote: This is to avoid arch/$arch/Makefile having to recurse into parents directories. This avoid duplication of the logic to build prelink.o between arches. In order to do that, we cut the $(TARGET) target in the main Makefile in two, there is

Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-02-17 Thread Julien Grall
Hi, On 17/02/2022 16:29, Julien Grall wrote: On 28/01/2022 11:41, Jan Beulich wrote: On 28.01.2022 12:32, Anthony PERARD wrote: On Thu, Jan 27, 2022 at 04:50:32PM +0100, Jan Beulich wrote: On 25.01.2022 12:00, Anthony PERARD wrote: --- a/xen/Makefile +++ b/xen/Makefile @@ -285,6 +285,16 @@

Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-02-17 Thread Julien Grall
Hi, On 28/01/2022 11:41, Jan Beulich wrote: On 28.01.2022 12:32, Anthony PERARD wrote: On Thu, Jan 27, 2022 at 04:50:32PM +0100, Jan Beulich wrote: On 25.01.2022 12:00, Anthony PERARD wrote: --- a/xen/Makefile +++ b/xen/Makefile @@ -285,6 +285,16 @@ CFLAGS += -flto

Ping: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-02-17 Thread Anthony PERARD
Hi Julien, Stefano, This patch has some changes to the Arm makefiles. Could you have a quick look or ack the changes? They are some other patches in the series which might want a Arm ack: - 20/30 build: rework "clean" to clean from the root dir - 24/30 build: grab common EFI source files in arch

Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-01-28 Thread Jan Beulich
On 28.01.2022 12:32, Anthony PERARD wrote: > On Thu, Jan 27, 2022 at 04:50:32PM +0100, Jan Beulich wrote: >> On 25.01.2022 12:00, Anthony PERARD wrote: >>> --- a/xen/Makefile >>> +++ b/xen/Makefile >>> @@ -285,6 +285,16 @@ CFLAGS += -flto >>> LDFLAGS-$(CONFIG_CC_IS_CLANG) += -plugin LLVMgold.so

Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-01-28 Thread Anthony PERARD
On Thu, Jan 27, 2022 at 04:50:32PM +0100, Jan Beulich wrote: > On 25.01.2022 12:00, Anthony PERARD wrote: > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -285,6 +285,16 @@ CFLAGS += -flto > > LDFLAGS-$(CONFIG_CC_IS_CLANG) += -plugin LLVMgold.so > > endif > > > > +# Note that link order

Re: [XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-01-27 Thread Jan Beulich
On 25.01.2022 12:00, Anthony PERARD wrote: > This is to avoid arch/$arch/Makefile having to recurse into parents > directories. > > This avoid duplication of the logic to build prelink.o between arches. > > In order to do that, we cut the $(TARGET) target in the main Makefile in > two, there is

[XEN PATCH v9 04/30] build: set ALL_OBJS in main Makefile; move prelink.o to main Makefile

2022-01-25 Thread Anthony PERARD
This is to avoid arch/$arch/Makefile having to recurse into parents directories. This avoid duplication of the logic to build prelink.o between arches. In order to do that, we cut the $(TARGET) target in the main Makefile in two, there is a "prepare" phase/target runned before starting to build