On 26/09/2024 10:58 am, Sergiy Kibrik wrote: > diff --git a/xen/common/Makefile b/xen/common/Makefile > index fc52e0857d..ea0557aee5 100644 > --- a/xen/common/Makefile > +++ b/xen/common/Makefile > @@ -64,10 +64,14 @@ obj-bin-$(CONFIG_X86) += $(foreach n,decompress bunzip2 > unxz unlzma lzo unlzo un > obj-$(CONFIG_COMPAT) += $(addprefix compat/,domain.o memory.o multicall.o > xlat.o) > > ifneq ($(CONFIG_PV_SHIM_EXCLUSIVE),y) > +ifeq ($(CONFIG_DOMCTL),y) > obj-y += domctl.o > +endif > obj-y += monitor.o > +ifeq ($(CONFIG_SYSCTL),y) > obj-y += sysctl.o > endif > +endif
This patch is tagged ARM, but as you can see from this bodge, it's already used on x86 for SHIM_EXCLUSIVE mode. (I came very close to insisting that it was done like this originally, but alas.) Please incorporate PV_SHIM_EXCLUSIVE at the Kconfig level, and turn these into simple obj-$(...) += foo.o ~Andrew