Alexander Hansen | 00b3cae | 2024-11-26 17:32:33 +0100 | [diff] [blame] | 1 | |
| 2 | subdir('pldm') |
Alexander Hansen | cc37235 | 2025-01-14 14:15:39 +0100 | [diff] [blame] | 3 | |
Kevin Tung | 0d1c20b | 2025-09-22 10:08:18 +0800 | [diff] [blame] | 4 | conf = configuration_data() |
| 5 | conf.set( |
| 6 | 'HOST_STATE_TRANSITION_TIMEOUT', |
| 7 | get_option('host-state-transition-timeout'), |
| 8 | ) |
| 9 | |
| 10 | configure_file(output: 'common_config.h', configuration: conf) |
| 11 | |
Alexander Hansen | 192bb5d | 2025-02-27 11:28:15 +0100 | [diff] [blame] | 12 | software_common_lib = static_library( |
| 13 | 'software_common_lib', |
| 14 | 'src/software_manager.cpp', |
| 15 | 'src/device.cpp', |
| 16 | 'src/software_config.cpp', |
| 17 | 'src/software.cpp', |
| 18 | 'src/software_update.cpp', |
Alexander Hansen | 1e833b4 | 2025-03-04 10:20:33 +0100 | [diff] [blame] | 19 | 'src/host_power.cpp', |
Kevin Tung | a2eb951 | 2025-05-05 18:28:56 +0800 | [diff] [blame] | 20 | 'src/utils.cpp', |
Christopher Meis | 26d3748 | 2025-04-29 11:47:07 +0200 | [diff] [blame] | 21 | include_directories: ['.', 'include/', common_include], |
Alexander Hansen | 192bb5d | 2025-02-27 11:28:15 +0100 | [diff] [blame] | 22 | dependencies: [pdi_dep, phosphor_logging_dep, sdbusplus_dep, libpldm_dep], |
Alexander Hansen | cc37235 | 2025-01-14 14:15:39 +0100 | [diff] [blame] | 23 | ) |