Move oem libpldm code inside libpldm
Moving the oem support inside the libpldm folder would
help us to migrate libpldm folder into its own repository.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I4596e9e001c985864431a56343318e5f93d3ede3
diff --git a/libpldmresponder/meson.build b/libpldmresponder/meson.build
index 9ea74a3..ed68a84 100644
--- a/libpldmresponder/meson.build
+++ b/libpldmresponder/meson.build
@@ -28,7 +28,12 @@
'event_parser.cpp'
]
+responder_headers = ['.']
+
if get_option('oem-ibm').enabled()
+ responder_headers += [
+ '../oem/ibm/',
+ ]
sources += [
'../oem/ibm/libpldmresponder/utils.cpp',
'../oem/ibm/libpldmresponder/file_io.cpp',
@@ -49,10 +54,12 @@
'pldmresponder',
sources,
version: meson.project_version(),
+ include_directories:include_directories(responder_headers),
dependencies: libpldmresponder_deps,
install: true)
-libpldmresponder = declare_dependency(
+libpldmresponder_dep = declare_dependency(
+ include_directories:include_directories(responder_headers),
link_with: libpldmresponder)
if get_option('tests').enabled()