mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Move bless-boot components to their own source subdirectory
This commit is contained in:
parent
0b676aab33
commit
daf72e8df1
@ -2344,6 +2344,7 @@ subdir('src/ask-password')
|
||||
subdir('src/backlight')
|
||||
subdir('src/battery-check')
|
||||
subdir('src/binfmt')
|
||||
subdir('src/bless-boot')
|
||||
subdir('src/boot')
|
||||
subdir('src/boot/efi')
|
||||
subdir('src/bootctl')
|
||||
|
37
src/bless-boot/meson.build
Normal file
37
src/bless-boot/meson.build
Normal file
@ -0,0 +1,37 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if get_option('link-boot-shared')
|
||||
boot_link_with = [libshared]
|
||||
else
|
||||
boot_link_with = [
|
||||
libshared_static,
|
||||
libsystemd_static,
|
||||
]
|
||||
endif
|
||||
|
||||
executables += [
|
||||
libexec_template + {
|
||||
'name' : 'systemd-bless-boot',
|
||||
'public' : true,
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
'ENABLE_BOOTLOADER',
|
||||
],
|
||||
'sources' : files('bless-boot.c'),
|
||||
'link_with' : boot_link_with,
|
||||
'dependencies' : libblkid,
|
||||
},
|
||||
generator_template + {
|
||||
'name' : 'systemd-bless-boot-generator',
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
'ENABLE_BOOTLOADER',
|
||||
],
|
||||
'sources' : files('bless-boot-generator.c'),
|
||||
'link_with' : boot_link_with,
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-boot-check-no-failures',
|
||||
'sources' : files('boot-check-no-failures.c'),
|
||||
},
|
||||
]
|
@ -1,35 +1,6 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if get_option('link-boot-shared')
|
||||
boot_link_with = [libshared]
|
||||
else
|
||||
boot_link_with = [
|
||||
libshared_static,
|
||||
libsystemd_static,
|
||||
]
|
||||
endif
|
||||
|
||||
executables += [
|
||||
libexec_template + {
|
||||
'name' : 'systemd-bless-boot',
|
||||
'public' : true,
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
'ENABLE_BOOTLOADER',
|
||||
],
|
||||
'sources' : files('bless-boot.c'),
|
||||
'link_with' : boot_link_with,
|
||||
'dependencies' : libblkid,
|
||||
},
|
||||
generator_template + {
|
||||
'name' : 'systemd-bless-boot-generator',
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
'ENABLE_BOOTLOADER',
|
||||
],
|
||||
'sources' : files('bless-boot-generator.c'),
|
||||
'link_with' : boot_link_with,
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-measure',
|
||||
'conditions' : [
|
||||
@ -48,8 +19,4 @@ executables += [
|
||||
'sources' : files('sbsign.c'),
|
||||
'dependencies' : libopenssl,
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-boot-check-no-failures',
|
||||
'sources' : files('boot-check-no-failures.c'),
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user