]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Use build_tgt.name() 28036/head
authorJan Janssen <medhefgo@web.de>
Wed, 14 Jun 2023 14:10:55 +0000 (16:10 +0200)
committerJan Janssen <medhefgo@web.de>
Wed, 14 Jun 2023 14:10:55 +0000 (16:10 +0200)
src/boot/efi/meson.build

index 68c19fbcc9b328cc2412d8432177fb5bb236aca3..a963ce12d16c006cadabe2b5912c9d0a5d19ed07 100644 (file)
@@ -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.