diff options
Diffstat (limited to 'meta-ampere/meta-jade/recipes-phosphor/sensors')
-rw-r--r-- | meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | 12 | ||||
-rw-r--r-- | meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend index 821c9b100..a77a59be0 100644 --- a/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend +++ b/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -1,8 +1,8 @@ -FILESEXTRAPATHS_append_mtjade := "${THISDIR}/${PN}:" +FILESEXTRAPATHS:append:mtjade := "${THISDIR}/${PN}:" -EXTRA_OEMESON_append_mtjade = " -Dnegative-errno-on-fail=true" +EXTRA_OEMESON:append:mtjade = " -Dnegative-errno-on-fail=true" -CHIPS_mtjade = " \ +CHIPS:mtjade = " \ bus@1e78a000/i2c-bus@100/tmp175@28 \ bus@1e78a000/i2c-bus@100/tmp175@29 \ bus@1e78a000/i2c-bus@100/tmp175@2a \ @@ -16,14 +16,14 @@ CHIPS_mtjade = " \ ITEMSFMT = "ahb/apb/{0}.conf" -ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS_${MACHINE}')}" +ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS:${MACHINE}')}" ITEMS += "iio-hwmon.conf iio-hwmon-adc14.conf iio-hwmon-battery.conf" ENVS = "obmc/${MACHINE}/hwmon/{0}" -SYSTEMD_ENVIRONMENT_FILE_${PN}_append_mtjade = " ${@compose_list(d, 'ENVS', 'ITEMS')}" +SYSTEMD_ENVIRONMENT_FILE:${PN}:append:mtjade = " ${@compose_list(d, 'ENVS', 'ITEMS')}" -do_install_append_mtjade() { +do_install:append:mtjade() { SOURCEDIR="${WORKDIR}/obmc/${MACHINE}/hwmon" DESTDIR="${D}${sysconfdir}/default/obmc" install -d ${DESTDIR} diff --git a/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend b/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend index 3c68ff533..3a1af4f3b 100644 --- a/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend +++ b/meta-ampere/meta-jade/recipes-phosphor/sensors/phosphor-virtual-sensor_%.bbappend @@ -1,10 +1,10 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -SRC_URI_append_mtjade += " \ +SRC_URI:append:mtjade += " \ file://virtual_sensor_config.json \ " -do_install_append_mtjade() { +do_install:append:mtjade() { install -m 0644 ${WORKDIR}/virtual_sensor_config.json ${D}${datadir}/phosphor-virtual-sensor/ } |