1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
3EXTRA_OEMESON:append = " -Dnegative-errno-on-fail=true"
4
5ITEMS = "iio-hwmon-battery.conf"
6
7OCCS = " \
8       00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \
9       00--00--00--0a/fsi-master/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \
10       "
11
12OCCSFMT = "devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/{0}.conf"
13OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}"
14
15ENVS = "obmc/hwmon/{0}"
16SYSTEMD_ENVIRONMENT_FILE:${PN}:append = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
17SYSTEMD_ENVIRONMENT_FILE:${PN}:append = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}"
18