1systemd = dependency('systemd')
2conf_data = configuration_data()
3conf_data.set('BINDIR', get_option('prefix') / get_option('bindir'))
4configure_file(
5  input: 'xyz.openbmc_project.bios_bmc_smm_error_logger.service.in',
6  output: 'xyz.openbmc_project.bios_bmc_smm_error_logger.service',
7  configuration: conf_data,
8  install: true,
9  install_dir: systemd.get_variable('systemdsystemunitdir'))
10