Re: [XEN PATCH v7 41/51] build,x86: remove the need for build32.mk

2021-10-18 Thread Jan Beulich
On 15.10.2021 17:52, Anthony PERARD wrote: > On Thu, Oct 14, 2021 at 10:32:05AM +0200, Jan Beulich wrote: >> On 24.08.2021 12:50, Anthony PERARD wrote: >>> -$(obj)/cmdline.S: $(src)/cmdline.c $(CMDLINE_DEPS) $(src)/build32.lds >>> - $(MAKE) -f $(BASEDIR)/$(src)/build32.mk -C $(obj) $(@F) >>>

Re: [XEN PATCH v7 41/51] build,x86: remove the need for build32.mk

2021-10-15 Thread Anthony PERARD
On Thu, Oct 14, 2021 at 10:32:05AM +0200, Jan Beulich wrote: > On 24.08.2021 12:50, Anthony PERARD wrote: > > --- a/xen/arch/x86/boot/Makefile > > +++ b/xen/arch/x86/boot/Makefile > > @@ -1,23 +1,51 @@ > > obj-bin-y += head.o > > +head-objs := cmdline.S reloc.S > > > > -DEFS_H_DEPS =

Re: [XEN PATCH v7 41/51] build,x86: remove the need for build32.mk

2021-10-14 Thread Jan Beulich
On 24.08.2021 12:50, Anthony PERARD wrote: > --- a/xen/arch/x86/boot/Makefile > +++ b/xen/arch/x86/boot/Makefile > @@ -1,23 +1,51 @@ > obj-bin-y += head.o > +head-objs := cmdline.S reloc.S > > -DEFS_H_DEPS = $(BASEDIR)/$(src)/defs.h $(BASEDIR)/include/xen/stdbool.h > +nocov-y +=

[XEN PATCH v7 41/51] build,x86: remove the need for build32.mk

2021-08-24 Thread Anthony PERARD
Rework "arch/x86/boot/Makefile" to allow it to build both file "cmdline.S" and "reloc.S" without "build32.mk". These will now use the main rules for "%.o: %.c", and thus generate a dependency file. (We will not need to track the dependency manually anymore.) But for that, we need to override the