xref: /openbmc/phosphor-host-ipmid/oem/nvidia/meson.build (revision bffaa1100755e28549d034251c6c2b3feb9c27cc)
16b580c7cSPrithvi Pai# nvidia OEM library build
26b580c7cSPrithvi Pai
3*bffaa110SPrithvi Painvidia_oem_src = [
4*bffaa110SPrithvi Pai    'biosconfigcommands.cpp',
5*bffaa110SPrithvi Pai    'bootstrap-credentials-oem-cmds.cpp',
6*bffaa110SPrithvi Pai]
76b580c7cSPrithvi Pai
86b580c7cSPrithvi Painvidia_oem_deps = [
96b580c7cSPrithvi Pai    boost,
106b580c7cSPrithvi Pai    crypto,
116b580c7cSPrithvi Pai    ipmid_dep,
126b580c7cSPrithvi Pai    nlohmann_json_dep,
136b580c7cSPrithvi Pai    phosphor_dbus_interfaces_dep,
146b580c7cSPrithvi Pai    phosphor_logging_dep,
156b580c7cSPrithvi Pai    sdbusplus_dep,
166b580c7cSPrithvi Pai    stdplus_dep,
176b580c7cSPrithvi Pai]
186b580c7cSPrithvi Pai
196b580c7cSPrithvi Painvidia_ipmi_oem = library(
206b580c7cSPrithvi Pai    'nvidia_ipmi_oem',
216b580c7cSPrithvi Pai    nvidia_oem_src,
226b580c7cSPrithvi Pai    dependencies: nvidia_oem_deps,
236b580c7cSPrithvi Pai    include_directories: [root_inc],
246b580c7cSPrithvi Pai    install: true,
256b580c7cSPrithvi Pai    install_dir: get_option('libdir') / 'ipmid-providers',
266b580c7cSPrithvi Pai    version: meson.project_version(),
276b580c7cSPrithvi Pai    override_options: ipmi_plugin_options,
286b580c7cSPrithvi Pai)
29