meta-facebook: Refactored config file for meson.

Refactored platform specific config file to support
in meson upgradation.

Tested: Tested and verified with yosemitev2 and tiogapass
        platform.

Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: If557b57d3e02a926728330407f71abfa07e7d40f
diff --git a/meson.build b/meson.build
index 6c4d0c5..7f7af29 100644
--- a/meson.build
+++ b/meson.build
@@ -78,3 +78,17 @@
   override_options: ['b_lundef=false'],
   install: true,
   install_dir: get_option('libdir') / 'ipmid-providers')
+
+if get_option('machine') != ''
+  configfile = [
+        'cri_sensors.json',
+        'gpio_desc.json',
+        'post_desc.json'
+   ]
+   foreach c : configfile
+      file = join_paths(get_option('machine'), c)
+      install_data(
+         sources : file,
+         install_dir : get_option('datadir') / 'lcd-debug' )
+   endforeach
+endif