From 816df466a7ea2d20b10a59253c38fb29c55be955 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 14 Jun 2023 16:10:55 +0200 Subject: [PATCH] meson: Use build_tgt.name() --- src/boot/efi/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 68c19fbcc9b..a963ce12d16 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -349,8 +349,7 @@ foreach archspec : efi_archspecs endforeach foreach efi_elf_binary : efi_elf_binaries - # FIXME: Use build_tgt.name() with meson >= 0.54.0 - name = fs.name(efi_elf_binary.full_path()).split('.')[0] + name = efi_elf_binary.name() name += name.startswith('systemd-boot') ? '.efi' : '.efi.stub' # For the addon, given it's empty, we need to explicitly reserve space in the header to account for # the sections that ukify will add. -- 2.47.3