mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
meson: add systemd-boot and systemd-stub build target aliases
Allows to quickly build systemd-boot by itself without having to reference the full path of the build target: $ ninja -C foo systemd-stub ninja: Entering directory `foo' [21/21] Generating src/boot/efi/linuxx64.efi.stub with a custom command $ ninja -C foo systemd-boot ninja: Entering directory `foo' [10/10] Generating src/boot/efi/systemd-bootx64.efi with a custom command
This commit is contained in:
parent
0a5e638cc7
commit
705d6b34ee
@ -428,7 +428,7 @@ foreach tuple : [['systemd-boot@0@.@1@', systemd_boot_objects, false, 'systemd-b
|
||||
install_tag: tuple[3],
|
||||
install_dir : bootlibdir)
|
||||
|
||||
custom_target(
|
||||
efi = custom_target(
|
||||
tuple[0].format(efi_arch[0], 'efi'),
|
||||
input : elf,
|
||||
output : tuple[0].format(efi_arch[0], 'efi'),
|
||||
@ -449,4 +449,6 @@ foreach tuple : [['systemd-boot@0@.@1@', systemd_boot_objects, false, 'systemd-b
|
||||
install : true,
|
||||
install_tag: tuple[3],
|
||||
install_dir : bootlibdir)
|
||||
|
||||
alias_target(tuple[3], efi)
|
||||
endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user