| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
bootctl_sources = files( |
| 4 |
'bootctl.c', |
| 5 |
'bootctl-install.c', |
| 6 |
'bootctl-link.c', |
| 7 |
'bootctl-random-seed.c', |
| 8 |
'bootctl-reboot-to-firmware.c', |
| 9 |
'bootctl-set-efivar.c', |
| 10 |
'bootctl-status.c', |
| 11 |
'bootctl-uki.c', |
| 12 |
'bootctl-unlink.c', |
| 13 |
'bootctl-cleanup.c', |
| 14 |
'bootctl-util.c', |
| 15 |
'bootspec-util.c', |
| 16 |
) |
| 17 |
|
| 18 |
executables += [ |
| 19 |
executable_template + { |
| 20 |
'name' : 'bootctl', |
| 21 |
'public' : true, |
| 22 |
'conditions' : [ |
| 23 |
'HAVE_BLKID', |
| 24 |
], |
| 25 |
'sources' : bootctl_sources, |
| 26 |
'link_with' : boot_link_with, |
| 27 |
'dependencies' : [libopenssl_cflags], |
| 28 |
}, |
| 29 |
test_template + { |
| 30 |
'sources' : files( |
| 31 |
'test-bootspec-util.c', |
| 32 |
'bootspec-util.c', |
| 33 |
), |
| 34 |
}, |
| 35 |
] |