build: adjust $(TARGET).efi creation in arch/arm
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 15 Dec 2021 09:17:34 +0000 (10:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:17:34 +0000 (10:17 +0100)
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 <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/Makefile

index a3a497bafe89bf4e64f57af11319686a02e10365..d0dee10102b6e4987479eaa2738f52b84230fef5 100644 (file)
@@ -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)