From: Anthony PERARD Date: Wed, 15 Dec 2021 09:17:34 +0000 (+0100) Subject: build: adjust $(TARGET).efi creation in arch/arm X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1221 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6d21af4a12d310fec72ca3e87e2a3b045643a25;p=xen.git build: adjust $(TARGET).efi creation in arch/arm There is no need to try to guess a relative path to the "xen.efi" file, we can simply use $@. Also, there's no need to use `notdir`, make already do that work via $(@F). Signed-off-by: Anthony PERARD Reviewed-by: Jan Beulich Acked-by: Julien Grall --- diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index a3a497bafe..d0dee10102 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -95,7 +95,7 @@ endif $(TARGET): $(TARGET)-syms $(OBJCOPY) -O binary -S $< $@ ifeq ($(CONFIG_ARM_64),y) - ln -sf $(notdir $@) ../../$(notdir $@).efi + ln -sf $(@F) $@.efi endif ifeq ($(CONFIG_LTO),y)