blob: aa831a58acdd046e44f7b39abf4de83e6641018d [file] [log] [blame]
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +05301SUMMARY = "OpenPower OCC Control with MRW generated sensor IDs"
2PR = "r1"
3
4inherit native
5inherit obmc-phosphor-utils
6inherit obmc-phosphor-license
7inherit openpower-occ-control
8
9PROVIDES += "virtual/openpower-occ-control-config-native"
10DEPENDS += "mrw-native mrw-perl-tools-native"
11
12# Generate a YAML files based on MRW input
13do_install_append() {
14 install -d ${YAML_DEST}/
15 ${STAGING_BINDIR_NATIVE}/perl-native/perl \
16 ${STAGING_BINDIR_NATIVE}/gen_occ_map.pl \
17 -i ${STAGING_DATADIR_NATIVE}/obmc-mrw/${MACHINE}.xml \
18 -o ${YAML_DEST}/occ_sensor.yaml
19}