[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86: adjust EFI-related build message
commit a2d194b2579f66bb53cab740bba39090a3190158 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Fri Jan 17 16:17:23 2020 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Jan 17 16:17:23 2020 +0100 x86: adjust EFI-related build message As of commit 93249f7fc17c ("x86/efi: split compiler vs linker support"), EFI support in xen.gz may be available even if no xen.efi gets generated. Distinguish the cases when emitting the message. Also drop the pointlessly (afaict) left use of $(filter ...) (needed only when used in $(if ...)), from the ifeq() introduced by 7059afb202ff ("x86/Makefile: remove $(guard) use from $(TARGET).efi target"). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index 6783688b00..a64d12ac4d 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -195,7 +195,7 @@ note_file := endif note_file_option ?= $(note_file) -ifeq ($(filter y,$(XEN_BUILD_PE)),y) +ifeq ($(XEN_BUILD_PE),y) $(TARGET).efi: prelink-efi.o $(note_file) efi.lds efi/relocs-dummy.o efi/mkreloc $(foreach base, $(VIRT_BASE) $(ALT_BASE), \ $(LD) $(call EFI_LDFLAGS,$(base)) -T efi.lds -N $< efi/relocs-dummy.o \ @@ -218,7 +218,8 @@ $(TARGET).efi: prelink-efi.o $(note_file) efi.lds efi/relocs-dummy.o efi/mkreloc rm -f $(@D)/.$(@F).[0-9]* $(@D)/..$(@F).[0-9]* else $(TARGET).efi: FORCE - rm -f $@; echo 'EFI support disabled' + rm -f $@ + echo '$(if $(filter y,$(XEN_BUILD_EFI)),xen.efi generation,EFI support) disabled' endif efi/boot.init.o efi/runtime.o efi/compat.o efi/buildid.o efi/relocs-dummy.o: $(BASEDIR)/arch/x86/efi/built_in.o -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |