blob: 358e5d83bb59bdf3882e816ab475be8f755220a6 [file] [log] [blame]
Alexander Hansenf2c95a02024-11-26 11:16:44 +01001
2bios_spi_src = files('bios_software_manager.cpp'
3, 'spi_device.cpp')
4
5bios_spi_include = include_directories('.')
6
7executable(
8 'phosphor-bios-software-update',
9 'main.cpp',
10 bios_spi_src,
11 include_directories: [common_include, bios_spi_include],
12 dependencies: [
13 sdbusplus_dep,
14 phosphor_logging_dep,
15 pdi_dep,
16 boost_dep,
17 libgpiod,
18 libpldm_dep,
19 ],
20 link_with: [libpldmutil, software_common_lib],
21 install: true,
22)
23
24systemd_system_unit_dir = dependency('systemd').get_variable(
25 'systemdsystemunitdir',
26 pkgconfig_define: ['prefix', get_option('prefix')],
27)
28
29install_data(
30 'xyz.openbmc_project.Software.BIOS.service',
31 install_dir: systemd_system_unit_dir,
32)