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 <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
Anthony PERARD authored and Jan Beulich committed 2021-12-15 10:17:34 +01:00
1 parent 19427e439e
commit a6d21af4a1
1 file changed
+1 -1
+1 -1
View 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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.