blob: 1b228adb34c5b130afd08ae66bf28ff7d2e0f22e [file] [log] [blame]
Vishwanatha Subbannafcf50762017-08-09 15:00:34 +05301SUMMARY = "OpenPower OCC Control with MRW generated sensor IDs"
2PR = "r1"
Brad Bishop2879d322018-11-07 14:45:23 -05003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Vishwanatha Subbannafcf50762017-08-09 15:00:34 +05305
6inherit native
Vishwanatha Subbannafcf50762017-08-09 15:00:34 +05307inherit openpower-occ-control
Matt Spinler0a8ea632017-12-14 13:31:55 -06008inherit mrw-xml
Vishwanatha Subbannafcf50762017-08-09 15:00:34 +05309
10PROVIDES += "virtual/openpower-occ-control-config-native"
11DEPENDS += "mrw-native mrw-perl-tools-native"
12
13# Generate a YAML files based on MRW input
14do_install_append() {
15 install -d ${YAML_DEST}/
16 ${STAGING_BINDIR_NATIVE}/perl-native/perl \
17 ${STAGING_BINDIR_NATIVE}/gen_occ_map.pl \
Matt Spinler0a8ea632017-12-14 13:31:55 -060018 -i ${mrw_datadir}/${MRW_XML} \
Vishwanatha Subbannafcf50762017-08-09 15:00:34 +053019 -o ${YAML_DEST}/occ_sensor.yaml
20}