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 |
Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 5 | inherit obmc-phosphor-license |
| 6 | inherit openpower-occ-control |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 7 | inherit mrw-xml |
Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 8 | |
| 9 | PROVIDES += "virtual/openpower-occ-control-config-native" |
| 10 | DEPENDS += "mrw-native mrw-perl-tools-native" |
| 11 | |
| 12 | # Generate a YAML files based on MRW input |
| 13 | do_install_append() { |
| 14 | install -d ${YAML_DEST}/ |
| 15 | ${STAGING_BINDIR_NATIVE}/perl-native/perl \ |
| 16 | ${STAGING_BINDIR_NATIVE}/gen_occ_map.pl \ |
Matt Spinler | 0a8ea63 | 2017-12-14 13:31:55 -0600 | [diff] [blame] | 17 | -i ${mrw_datadir}/${MRW_XML} \ |
Vishwanatha Subbanna | fcf5076 | 2017-08-09 15:00:34 +0530 | [diff] [blame] | 18 | -o ${YAML_DEST}/occ_sensor.yaml |
| 19 | } |