Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 1 | SUMMARY = "OpenPower OCC Control with MRW generated sensor IDs" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit obmc-phosphor-utils |
| 6 | inherit obmc-phosphor-license |
| 7 | inherit openpower-occ-control |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame^] | 8 | inherit mrw-xml |
Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 9 | |
| 10 | PROVIDES += "virtual/openpower-occ-control-config-native" |
| 11 | DEPENDS += "mrw-native mrw-perl-tools-native" |
| 12 | |
| 13 | # Generate a YAML files based on MRW input |
| 14 | do_install_append() { |
| 15 | install -d ${YAML_DEST}/ |
| 16 | ${STAGING_BINDIR_NATIVE}/perl-native/perl \ |
| 17 | ${STAGING_BINDIR_NATIVE}/gen_occ_map.pl \ |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame^] | 18 | -i ${mrw_datadir}/${MRW_XML} \ |
Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 19 | -o ${YAML_DEST}/occ_sensor.yaml |
| 20 | } |