xref: /openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/meson.build (revision eb40f081f021253152c6aff12beef8f19d7ef02b)
1hyp_default_busname = 'xyz.openbmc_project.Network.Hypervisor'
2
3configure_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
14executable(
15  'hyp-network-manager',
16  'hyp_network_manager_main.cpp',
17  'hyp_network_manager.cpp',
18  'hyp_sys_config.cpp',
19  implicit_include_directories: false,
20  dependencies: networkd_dep,
21  install: true,
22  install_dir: get_option('bindir'))
23
24