xref: /openbmc/pldm/configurations/meson.build (revision da079601)
1systemd = dependency('systemd')
2systemd_system_unit_dir = systemd.get_pkgconfig_variable(
3    'systemdsystemunitdir',
4    define_variable: ['prefix', get_option('prefix')])
5packagedir = join_paths(
6    get_option('prefix'),
7    get_option('datadir'),
8    meson.project_name(),
9)
10
11
12install_subdir('pdr', install_dir: packagedir)
13
14install_subdir('host', install_dir: packagedir)
15
16install_subdir('events', install_dir: packagedir)
17
18if get_option('oem-ibm').enabled()
19    install_subdir('../oem/ibm/configurations/fru', install_dir: packagedir)
20    install_subdir('../oem/ibm/configurations/events', install_dir: packagedir)
21    install_data('../oem/ibm/configurations/fileTable.json',
22        install_dir: packagedir)
23    install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir)
24endif
25
26