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 'systemdsystemunitdir')) 13 14hyp_src_includes = include_directories('.') 15 16hyp_networkd_lib = static_library( 17 'hyp-networkd', 18 'hyp_network_manager.cpp', 19 'hyp_sys_config.cpp', 20 'hyp_ethernet_interface.cpp', 21 implicit_include_directories: false, 22 include_directories: [src_includes, hyp_src_includes], 23 dependencies: networkd_deps) 24 25executable( 26 'hyp-network-manager', 27 'hyp_network_manager_main.cpp', 28 link_with: hyp_networkd_lib, 29 implicit_include_directories: false, 30 dependencies: [ 31 networkd_dep, 32 dependency('sdeventplus'), 33 ], 34 install: true, 35 install_dir: get_option('bindir')) 36