Add basic function for phosphor-nvme.
Add basic function to monitor temperature of
NVMe drive for phosphor-nvme.
Change-Id: Iebe3c8bf4b5cb958defab5b24a88f4bce477ad5e
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
diff --git a/meson.build b/meson.build
index 07b1dd5..93a1537 100644
--- a/meson.build
+++ b/meson.build
@@ -12,6 +12,8 @@
[
'nvme_main.cpp',
'nvme_manager.cpp',
+ 'smbus.cpp',
+ 'nvmes.cpp',
],
dependencies: [
dependency('phosphor-logging'),
@@ -23,6 +25,8 @@
install_dir: get_option('bindir')
)
+install_data(sources : 'nvme_config.json', install_dir : '/etc/nvme')
+
conf_data = configuration_data()
conf_data.set('NVME_REQUEST_NAME', '"xyz.openbmc_project.nvme.manager"')
conf_data.set('NVME_OBJ_PATH_ROOT', '"/xyz/openbmc_project/sensors/temperature"')