summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-ibm/recipes-phosphor/host/op-proc-control_git.bbappend1
-rw-r--r--meta-openpower/recipes-phosphor/host/op-proc-control_git.bb7
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/host/op-proc-control_git.bbappend b/meta-ibm/recipes-phosphor/host/op-proc-control_git.bbappend
new file mode 100644
index 0000000000..47869c4f31
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/host/op-proc-control_git.bbappend
@@ -0,0 +1 @@
+PACKAGECONFIG:append:p10bmc = " phal"
diff --git a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
index ad66ab4b69..90c50fc506 100644
--- a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
+++ b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
@@ -24,6 +24,13 @@ EXTRA_OEMESON += "-Dtests=disabled"
# For libpdbg, provided by the pdbg package
DEPENDS += "pdbg"
+PACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal op-fsi', d)}"
+PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled -Dp9=enabled, ipl pdata"
+PACKAGECONFIG[op-fsi] = "-Dopenfsi=enabled, -Dopenfsi=disabled"
+
+# By default all openpower systems support op-fsi
+PACKAGECONFIG = " op-fsi"
+
TEMPLATE = "pcie-poweroff@.service"
INSTANCE_FORMAT = "pcie-poweroff@{}.service"
INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}"