Kevin Tung | 994a77f | 2024-12-23 17:48:56 +0800 | [diff] [blame] | 1 | eeprom_device_version_src = files( |
| 2 | 'eeprom_device_version.cpp', |
| 3 | 'pt5161l/pt5161l.cpp', |
| 4 | ) |
| 5 | |
| 6 | eeprom_device_include = include_directories('.') |
| 7 | |
Kevin Tung | 994a77f | 2024-12-23 17:48:56 +0800 | [diff] [blame] | 8 | executable( |
| 9 | 'phosphor-eepromdevice-software-update', |
| 10 | 'eeprom_device_software_manager.cpp', |
| 11 | 'eeprom_device.cpp', |
| 12 | eeprom_device_version_src, |
| 13 | include_directories: [common_include, eeprom_device_include], |
Patrick Williams | ab08d09 | 2025-07-08 10:30:16 -0400 | [diff] [blame] | 14 | dependencies: [ |
| 15 | libgpiod_dep, |
| 16 | libpldm_dep, |
| 17 | phosphor_logging_dep, |
| 18 | sdbusplus_dep, |
| 19 | ], |
Kevin Tung | 994a77f | 2024-12-23 17:48:56 +0800 | [diff] [blame] | 20 | link_with: [software_common_lib, libpldmutil], |
| 21 | install: true, |
| 22 | install_dir: get_option('libexecdir') / 'phosphor-code-mgmt', |
| 23 | ) |
| 24 | |
Kevin Tung | 994a77f | 2024-12-23 17:48:56 +0800 | [diff] [blame] | 25 | install_data( |
| 26 | 'xyz.openbmc_project.Software.EEPROMDevice.service', |
| 27 | install_dir: systemd_system_unit_dir, |
| 28 | ) |