Kevin Tung | c538727 | 2025-07-28 18:10:43 +0800 | [diff] [blame] | 1 | tpm_device_include = include_directories('.') |
| 2 | |
| 3 | executable( |
| 4 | 'phosphor-tpm-software-update', |
| 5 | 'tpm_software_manager.cpp', |
| 6 | 'tpm_device.cpp', |
| 7 | 'tpm2/tpm2.cpp', |
| 8 | include_directories: [common_include, tpm_device_include], |
| 9 | dependencies: [libpldm_dep, phosphor_logging_dep, sdbusplus_dep], |
| 10 | link_with: [software_common_lib, libpldmutil], |
| 11 | install: true, |
| 12 | install_dir: get_option('libexecdir') / 'phosphor-code-mgmt', |
| 13 | ) |
| 14 | |
| 15 | install_data( |
| 16 | 'xyz.openbmc_project.Software.TPM.service', |
| 17 | install_dir: systemd_system_unit_dir, |
| 18 | ) |