meson: add basic meson
Since we don't have a CI for standard Make repositories anymore,
this repository has no CI. Begin a simple meson conversion to
enable some CI for the bare minimum aspects of the repository still
being used in openbmc/openbmc.
- libopenbmc_intf
- op-pwrctl
- pgood_wait
- op-hostctl
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I598e91c08b5ad607b68c18bfa9a870603df19397
diff --git a/op-pwrctl/meson.build b/op-pwrctl/meson.build
new file mode 100644
index 0000000..2e52bc0
--- /dev/null
+++ b/op-pwrctl/meson.build
@@ -0,0 +1,10 @@
+executable(
+ 'power_control.exe',
+ 'power_control_obj.c',
+ include_directories: libopenbmc_intf_includes,
+ link_with: libopenbmc_intf,
+ dependencies: [gio_unix_dep, glib_dep],
+ install: true,
+)
+
+subdir('pgood_wait')
diff --git a/op-pwrctl/pgood_wait/meson.build b/op-pwrctl/pgood_wait/meson.build
new file mode 100644
index 0000000..d59253d
--- /dev/null
+++ b/op-pwrctl/pgood_wait/meson.build
@@ -0,0 +1,6 @@
+executable(
+ 'pgood_wait',
+ 'pgood_wait.c',
+ dependencies: [libsystemd_dep],
+ install: true,
+)