Asmitha Karunanithi | be2bdec | 2021-05-13 02:54:29 -0500 | [diff] [blame] | 1 | hyp_default_busname = 'xyz.openbmc_project.Network.Hypervisor' |
| 2 | |
| 3 | configure_file( |
| 4 | input: 'xyz.openbmc_project.Network.Hypervisor.service.in', |
| 5 | output: 'xyz.openbmc_project.Network.Hypervisor.service', |
| 6 | configuration: { |
| 7 | 'SYSTEMD_TARGET': 'multi-user.target', |
| 8 | 'HYP_DEFAULT_NETWORK_BUSNAME': hyp_default_busname, |
| 9 | }, |
| 10 | install: true, |
| 11 | install_dir: dependency('systemd').get_variable( |
| 12 | pkgconfig: 'systemdsystemunitdir')) |
| 13 | |
| 14 | executable( |
| 15 | 'hyp-network-manager', |
| 16 | 'hyp_network_manager_main.cpp', |
| 17 | 'hyp_network_manager.cpp', |
Asmitha Karunanithi | eb40f08 | 2021-07-22 06:13:04 -0500 | [diff] [blame] | 18 | 'hyp_sys_config.cpp', |
Asmitha Karunanithi | be2bdec | 2021-05-13 02:54:29 -0500 | [diff] [blame] | 19 | implicit_include_directories: false, |
| 20 | dependencies: networkd_dep, |
| 21 | install: true, |
| 22 | install_dir: get_option('bindir')) |
| 23 | |