blob: ecf9cb5afb4a4db1fca968a9c9499e514995df55 [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
ZAIUS_CHIPS = "i2c@1e78a000/i2c-bus@40/ucd90160@64"
ZAIUS_ITEMSFMT = "ahb/apb/{0}.conf"
ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}"
ZAIUS_OCCS = " \
sbefifo@2400/occ@1/occ-hwmon@1 \
hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \
"
ZAIUS_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf"
ZAIUS_OCCITEMS = "${@compose_list(d, 'ZAIUS_OCCSFMT', 'ZAIUS_OCCS')}"
ENVS = "obmc/hwmon/{0}"
SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_ITEMS')}"
SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_OCCITEMS')}"