# SPDX-License-Identifier: LGPL-2.1-or-later
-bootctl_sources = files(
- 'bootctl-install.c',
- 'bootctl-random-seed.c',
- 'bootctl-reboot-to-firmware.c',
- 'bootctl-set-efivar.c',
- 'bootctl-status.c',
- 'bootctl-systemd-efi-options.c',
- 'bootctl-uki.c',
- 'bootctl-util.c',
- 'bootctl.c',
-)
-
if get_option('link-boot-shared')
boot_link_with = [libshared]
else
endif
executables += [
- executable_template + {
- 'name' : 'bootctl',
- 'public' : true,
- 'conditions' : [
- 'HAVE_BLKID',
- ],
- 'sources' : bootctl_sources,
- 'link_with' : boot_link_with,
- 'dependencies' : [libblkid, libopenssl],
- },
libexec_template + {
'name' : 'systemd-bless-boot',
'public' : true,
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+bootctl_sources = files(
+ 'bootctl-install.c',
+ 'bootctl-random-seed.c',
+ 'bootctl-reboot-to-firmware.c',
+ 'bootctl-set-efivar.c',
+ 'bootctl-status.c',
+ 'bootctl-systemd-efi-options.c',
+ 'bootctl-uki.c',
+ 'bootctl-util.c',
+ 'bootctl.c',
+)
+
+executables += [
+ executable_template + {
+ 'name' : 'bootctl',
+ 'public' : true,
+ 'conditions' : [
+ 'HAVE_BLKID',
+ ],
+ 'sources' : bootctl_sources,
+ 'link_with' : boot_link_with,
+ 'dependencies' : [libblkid, libopenssl],
+ },
+]