blob: bbd977fe27785c854c61af86d529b77a8a1f3599 [file] [log] [blame]
Lei YUe5cf2d82017-06-20 15:00:16 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
Lei YUfe2db2b2017-11-24 15:30:54 +08003# Pin the revision so the patch is guaranteed to be appliable
4# TODO: Remove this when the error handling in hwmon is done:
5# https://gerrit.openbmc-project.xyz/#/c/8073/
6SRCREV = "26d21731c292a02ec71480fade9a06658160eafb"
7
8SRC_URI += " file://0001-sysfs-Return-ETIMEDOUT-instead-of-throw-exception.patch"
9
Lei YUe5cf2d82017-06-20 15:00:16 +080010OCCS = " \
11 sbefifo@2400/occ@1/occ-hwmon@1 \
12 hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \
13 "
14
15OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf"
16OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}"
17
18ENVS = "obmc/hwmon/{0}"
19SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'OCCITEMS')}"