Add meson build
This commit is to add meson build.
and later, we will remove Autotools and replace it with meson build.
Tested: built openpower-occ-control successfully and Unit test passes.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I7f5fbc7150194a78f9b36bb256613fc70b834130
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..a948e46
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,53 @@
+option(
+ 'tests',
+ type : 'feature',
+ description : 'Build tests'
+)
+
+option(
+ 'install-error-yaml',
+ type : 'feature',
+ description : 'Enable installing error yaml file',
+ value: 'disabled'
+)
+
+option(
+ 'i2c-occ',
+ type : 'feature',
+ description : 'Enable I2C OCC support',
+ value: 'disabled'
+)
+
+option(
+ 'read-occ-sensors',
+ type : 'feature',
+ description : 'Enable read occ sensors support',
+ value: 'disabled'
+)
+
+option(
+ 'max-cpus',
+ type : 'integer',
+ min:0, max:255,
+ description : 'Maximum number of CPUs',
+ value: 2
+)
+
+option(
+ 'with-host-communication-protocol',
+ type : 'string',
+ description : 'To specify the host communication protocol'
+)
+
+option(
+ 'power10-support',
+ type : 'feature',
+ description : 'Enable Power10 support',
+ value: 'disabled'
+)
+
+option(
+ 'yamldir',
+ type : 'string',
+ description : 'The path to the yaml config files'
+)
\ No newline at end of file