libpldm: Migrate to subproject
Organize files in libpldm to make it a subproject
In the current state, libpldm is not readily consumable
as a subproject.This commit does all the necessary re-organisation
of the source code to make it work as a subproject.
There are no .c/.h files changes in this commit, only meson
changes and re-organising the code structure.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I20a71c0c972b1fd81fb359d604433618799102c6
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 0000000..fc44e8a
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,19 @@
+
+libpldm_sources += files(
+ 'base.c',
+ 'bios.c',
+ 'platform.c',
+ 'bios_table.c',
+ 'firmware_update.c',
+ 'fru.c',
+ 'pdr.c',
+ 'utils.c'
+ )
+
+if get_option('oem-ibm').enabled()
+ subdir('oem/ibm')
+endif
+
+if get_option('requester-api').enabled()
+ subdir('requester')
+endif