blob: 220e8918055e698b437ce18aecd51d56a0a63898 [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
NAMES = " \
i2c@1e78a000/i2c-bus@140/occ-hwmon@50 \
i2c@1e78a000/i2c-bus@180/occ-hwmon@51 \
i2c@1e78a000/i2c-bus@400/rtc@68 \
"
ITEMSFMT = "ahb/apb/{0}.conf"
ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
ENVS = "obmc/hwmon/{0}"
SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}"