pseq: Create phosphor-power-control application
Create the initial version of the phosphor-power-control application.
Update meson.build file to support.
Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I07e1389672236856deadf3452c2485b152d6b57d
diff --git a/phosphor-power-sequencer/src/meson.build b/phosphor-power-sequencer/src/meson.build
index d16083d..5d4b953 100644
--- a/phosphor-power-sequencer/src/meson.build
+++ b/phosphor-power-sequencer/src/meson.build
@@ -1,6 +1,6 @@
phosphor_power_sequencer = executable(
- 'phosphor-pseq-ucd90320-monitor',
- 'ucd90320_monitor.cpp',
+ 'phosphor-power-control',
+ 'power_control.cpp',
implicit_include_directories: false,
install: true
)
diff --git a/phosphor-power-sequencer/src/power_control.cpp b/phosphor-power-sequencer/src/power_control.cpp
new file mode 100644
index 0000000..698b0d0
--- /dev/null
+++ b/phosphor-power-sequencer/src/power_control.cpp
@@ -0,0 +1,20 @@
+/**
+ * Copyright © 2021 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+int main()
+{
+ return 0;
+}