blob: 08cb0ad08ae2d91ccea9867c7795645ce1369bc4 [file] [log] [blame]
hyp_default_busname = 'xyz.openbmc_project.Network.Hypervisor'
configure_file(
input: 'xyz.openbmc_project.Network.Hypervisor.service.in',
output: 'xyz.openbmc_project.Network.Hypervisor.service',
configuration: {
'SYSTEMD_TARGET': 'multi-user.target',
'HYP_DEFAULT_NETWORK_BUSNAME': hyp_default_busname,
},
install: true,
install_dir: dependency('systemd').get_variable(
pkgconfig: 'systemdsystemunitdir'))
executable(
'hyp-network-manager',
'hyp_network_manager_main.cpp',
'hyp_network_manager.cpp',
'hyp_sys_config.cpp',
implicit_include_directories: false,
dependencies: [
networkd_dep,
dependency('sdeventplus'),
],
install: true,
install_dir: get_option('bindir'))