blob: 796088546af6d38739cc07d23f60dd54d10b90af [file] [log] [blame]
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +05301SUMMARY = "OpenPower OCC Control with MRW generated sensor IDs"
2PR = "r1"
Patrick Venture7b049dd2018-11-05 19:27:01 -08003LICENSE = "Apache-2.0"
Brad Bishop2e899dc2019-09-13 12:18:25 -04004LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +05305
6inherit native
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +05307inherit openpower-occ-control
Matt Spinlera1b37ab2017-12-14 13:31:55 -06008inherit mrw-xml
Vishwanatha Subbanna11631c72017-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 Spinlera1b37ab2017-12-14 13:31:55 -060018 -i ${mrw_datadir}/${MRW_XML} \
Vishwanatha Subbanna11631c72017-08-09 15:00:34 +053019 -o ${YAML_DEST}/occ_sensor.yaml
20}