Initial build for psu code manager
Add initial meson build env, empty c++ files, and the systemd service.
Add README and .gitignore
Add Matt as reviewer.
Tested: Verify build is OK and the service is installed to the correct
dir.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I21c060d2b98e8eafd4607cfce09038189e76d22f
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 0000000..85263c8
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,16 @@
+phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
+phosphor_logging = dependency('phosphor-logging')
+sdbusplus = dependency('sdbusplus')
+
+executable(
+ 'phosphor-psu-code-manager',
+ 'activation.cpp',
+ 'main.cpp',
+ implicit_include_directories: false,
+ dependencies: [
+ phosphor_logging,
+ phosphor_dbus_interfaces,
+ sdbusplus,
+ ],
+ install: true,
+ install_dir: get_option('bindir'))