summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-01-23 14:41:26 +0100
committerJan Janssen <medhefgo@web.de>2023-01-23 14:41:26 +0100
commitcd4300f30f0e836ec2568a84eb7b1831c2163f21 (patch)
tree4c51d440ee72436aea4dcca73be7f58cee88fa5f /meson.build
parente830d6dd2d76ecd3881e5c14bddc23f8cddfd137 (diff)
downloadsystemd-cd4300f30f0e836ec2568a84eb7b1831c2163f21.tar.gz
meson: Move bootctl sources defintion to its own file
The root meson.build file is already large enough.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build20
1 files changed, 2 insertions, 18 deletions
diff --git a/meson.build b/meson.build
index d37f47d48b..edf4dcc5d9 100644
--- a/meson.build
+++ b/meson.build
@@ -2173,6 +2173,7 @@ subdir('src/journal')
subdir('src/libsystemd-network')
subdir('src/analyze')
+subdir('src/boot')
subdir('src/busctl')
subdir('src/coredump')
subdir('src/cryptenroll')
@@ -2608,24 +2609,7 @@ if conf.get('HAVE_BLKID') == 1 and conf.get('HAVE_GNU_EFI') == 1
exe = executable(
'bootctl',
- ['src/boot/bootctl.c',
- 'src/boot/bootctl.h',
- 'src/boot/bootctl-install.c',
- 'src/boot/bootctl-install.h',
- 'src/boot/bootctl-random-seed.c',
- 'src/boot/bootctl-random-seed.h',
- 'src/boot/bootctl-reboot-to-firmware.c',
- 'src/boot/bootctl-reboot-to-firmware.h',
- 'src/boot/bootctl-set-efivar.c',
- 'src/boot/bootctl-set-efivar.h',
- 'src/boot/bootctl-status.c',
- 'src/boot/bootctl-status.h',
- 'src/boot/bootctl-systemd-efi-options.c',
- 'src/boot/bootctl-systemd-efi-options.h',
- 'src/boot/bootctl-uki.c',
- 'src/boot/bootctl-uki.h',
- 'src/boot/bootctl-util.c',
- 'src/boot/bootctl-util.h'],
+ bootctl_sources,
include_directories : includes,
link_with : [boot_link_with],
dependencies : [libblkid,