blob: 79550d8450be886b82c565d56f0f23aa55e5e834 [file] [log] [blame]
Deepak Kodihalli6e51e372020-06-19 03:49:07 -05001systemd = 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
11install_subdir('fru', install_dir: packagedir)
Deepak Kodihalli4548c622020-06-19 04:53:24 -050012
13install_subdir('pdr', install_dir: packagedir)
Sampa Misra579a34a2020-06-19 09:34:12 -050014
15install_subdir('host', install_dir: packagedir)
Deepak Kodihalli1f584012020-06-22 02:54:24 -050016
17install_subdir('events', install_dir: packagedir)
Tom Josepha792b212020-08-12 10:48:26 +053018
19if get_option('oem-ibm').enabled()
20 install_subdir('../oem/ibm/configurations/fru', install_dir: packagedir)
21 install_subdir('../oem/ibm/configurations/events', install_dir: packagedir)
22 install_data('../oem/ibm/configurations/fileTable.json',
23 install_dir: packagedir)
24 install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir)
25endif
26