On 25.01.2022 12:00, Anthony PERARD wrote: > --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -77,8 +77,9 @@ obj-$(CONFIG_COMPAT) += x86_64/platform_hypercall.o > obj-y += sysctl.o > endif > > -# Allows "clean" to descend into boot/ > +# Allows "clean" to descend > subdir- += boot > +subdir- += efi
No similar addition is needed for Arm? > --- /dev/null > +++ b/xen/common/efi/efi-common.mk > @@ -0,0 +1,15 @@ > +EFIOBJ-y := boot.init.o pe.init.o ebmalloc.o runtime.o > +EFIOBJ-$(CONFIG_COMPAT) += compat.o > + > +CFLAGS-y += -fshort-wchar > +CFLAGS-y += -iquote $(srctree)/common/efi > + > +# Part of the command line transforms $(obj) in to a relative reverted path. > +# e.g.: It transforms "dir/foo/bar" into successively > +# "dir foo bar", ".. .. ..", "../../.." > +$(obj)/%.c: $(srctree)/common/efi/%.c FORCE > + $(Q)ln -nfs $(subst $(space),/,$(patsubst %,..,$(subst /, > ,$(obj))))/common/efi/$(<F) $@ What is the "reverted" about in the comment? Also (nit) I think you want s/in to/into/. Jan