1FILESEXTRAPATHS:prepend:palmetto := "${THISDIR}/${PN}:"
2
3NAMES = " \
4        bus@1e78a000/i2c@40/rtc@68 \
5        bus@1e78a000/i2c@c0/tmp423@4c \
6        bus@1e78a000/i2c@100/occ-hwmon@50 \
7        "
8ITEMSFMT = "ahb/apb@1e780000/{0}.conf"
9
10ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
11
12ENVS = "obmc/hwmon/{0}"
13SYSTEMD_ENVIRONMENT_FILE:${PN}:append:palmetto = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
14