diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-08-09 15:00:34 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-17 19:23:22 +0000 |
commit | fcf50768ea59b11c8fbd31172856bead4f8ae76e (patch) | |
tree | fc5cd9d73ca274d6916f5ad6966c9dcc0ee469ec /meta-openbmc-machines/meta-openpower/conf/machine | |
parent | e7a3420da3ae834bb169387b36e201563095df0e (diff) | |
download | talos-openbmc-fcf50768ea59b11c8fbd31172856bead4f8ae76e.tar.gz talos-openbmc-fcf50768ea59b11c8fbd31172856bead4f8ae76e.zip |
Generate OCC Sensor mapping during build time
Change-Id: Ieb0ba06bc8875af382b1f8e9ed38ec36eeaece48
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/conf/machine')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc index 984a3777b..cc9202742 100644 --- a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc +++ b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc @@ -24,3 +24,11 @@ PREFERRED_PROVIDER_virtual/openpower-fru-inventory ?= \ "${@cf_enabled(d, 'obmc-mrw', 'openpower-fru-inventory-mrw-native', 'openpower-fru-inventory-example-native')}" PREFERRED_PROVIDER_virtual/openpower-fru-properties ?= \ "${@cf_enabled(d, 'obmc-mrw', 'openpower-fru-properties-mrw-native', 'openpower-fru-properties-example-native')}" + +# The openpower-occ-control application is data-driven and requires an input +# yaml of OCC instance numbers to sensor IDs. +# This virtual is a native recipe that provides that mapping by installing +# configuration files in the format and native sysroot location expected by +# the openpower-occ-control build process in the native sysroot. +PREFERRED_PROVIDER_virtual/openpower-occ-control-config-native ?= \ + "${@cf_enabled(d, 'obmc-mrw', 'openpower-occ-control-config-mrw-native', 'openpower-occ-control-config-example-native')}" |