Adding Platform specific PDR support
- Adding platform check to generate pdr based on platform type.
- Currently PDR generation is happening based on default
configuration, so this commit adds support to generate PDR's based
in the platform type.
Testing:
- Added traces and check from which path the files has been taken for
pdr generation.
- Removed power supply from default path and oem layer and identified
that power supply pdr is not generating.
Change-Id: I6bedf06be7392e02c1ad32af7a552a5a4d6d42c0
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
diff --git a/libpldmresponder/meson.build b/libpldmresponder/meson.build
index 687fa82..156e3d1 100644
--- a/libpldmresponder/meson.build
+++ b/libpldmresponder/meson.build
@@ -20,6 +20,7 @@
'pdr_utils.cpp',
'pdr.cpp',
'platform.cpp',
+ 'platform_config.cpp',
'fru_parser.cpp',
'fru.cpp',
'../host-bmc/host_pdr_handler.cpp',
@@ -50,7 +51,6 @@
'../oem/ibm/requester/dbus_to_file_handler.cpp',
'../oem/ibm/libpldmresponder/file_io_type_progress_src.cpp',
'../oem/ibm/libpldmresponder/file_io_type_vpd.cpp',
- '../oem/ibm/libpldmresponder/bios_oem_ibm.cpp',
]
endif