blob: 08cb0ad08ae2d91ccea9867c7795645ce1369bc4 [file] [log] [blame]
Asmitha Karunanithibe2bdec2021-05-13 02:54:29 -05001hyp_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',
Asmitha Karunanithieb40f082021-07-22 06:13:04 -050018 'hyp_sys_config.cpp',
Asmitha Karunanithibe2bdec2021-05-13 02:54:29 -050019 implicit_include_directories: false,
William A. Kennington IIIde70ccf2022-11-20 17:18:01 -080020 dependencies: [
21 networkd_dep,
22 dependency('sdeventplus'),
23 ],
Asmitha Karunanithibe2bdec2021-05-13 02:54:29 -050024 install: true,
25 install_dir: get_option('bindir'))
26