Hi Ross, Could you also ack this livpatch change?
Thanks. On Tue, Mar 22, 2022 at 11:22:38AM +0000, Anthony PERARD wrote: > This implement out-of-tree support, there's two ways to create an > out-of-tree build tree (after that, `make` in that new directory > works): > make O=build > mkdir build; cd build; make -f ../Makefile > also works with an absolute path for both. > > This implementation only works if the source tree is clean, as we use > VPATH. > > This patch copies most new code with handling out-of-tree build from > Linux v5.12. > > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > Acked-by: Jan Beulich <jbeul...@suse.com> > Reviewed-by: Daniel P. Smith <dpsm...@apertussolutions.com> > Acked-by: Julien Grall <jgr...@amazon.com> > Tested-by: Julien Grall <jgr...@amazon.com> > --- [...] > diff --git a/xen/test/livepatch/Makefile b/xen/test/livepatch/Makefile > index ddb07371315e..c258ab0b5940 100644 > --- a/xen/test/livepatch/Makefile > +++ b/xen/test/livepatch/Makefile > @@ -11,6 +11,8 @@ endif > CODE_ADDR=$(shell nm --defined $(1) | grep $(2) | awk '{print "0x"$$1}') > CODE_SZ=$(shell nm --defined -S $(1) | grep $(2) | awk '{ print "0x"$$2}') > > +CFLAGS-y += -iquote $(obj) > + > extra-y += xen_hello_world.livepatch > xen_hello_world-objs := xen_hello_world_func.o xen_hello_world.o note.o > xen_note.o modinfo.o > $(obj)/xen_hello_world.o: $(obj)/config.h -- Anthony PERARD