Add SSIF Bridge Daemon
This commit adds SSIF bridge support adapted from BT Bridge (btbridged).
This daemon is standing between BMC SSIF kernel driver and DBUS IPMI
Interface for sending IPMI requests and return responses.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Signed-off-by: Narayan Chavani <nchavani@amperecomputing.com>
Signed-off-by: Chuong Tran <chuong.tran@amperecomputing.com>
Change-Id: Ie445bce125658aafa1cb42e2165439ea3a08ef41
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..08e5b72
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,22 @@
+project('ssifbridge', 'c',
+ default_options: [
+ 'buildtype=debugoptimized',
+ 'warning_level=3',
+ 'werror=true',
+ ],
+ version: '1.0',
+)
+
+# Wno-psabi reduces the number of "Note:" messages when cross-compiling some STL
+# stuff for ARM. See https://stackoverflow.com/questions/48149323/strange-gcc-warning-when-compiling-qt-project
+# Basically, gcc 6 and gcc 7 are not ABI compatible, but since the whole OpenBMC
+# project uses the same compiler, we can safely ignmore these info notes.
+add_project_arguments('-Wno-psabi', language: 'c')
+
+deps = [dependency('libsystemd', version : '>=221'),
+ dependency('systemd'),
+ ]
+
+executable('ssifbridged','ssifbridged.c',
+ dependencies: deps,
+ install: true)