Emily Shaffer | e412be5 | 2017-05-05 18:12:44 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
Andrew Geissler | 0a69ebe | 2017-07-12 16:19:14 -0500 | [diff] [blame] | 3 | ZAIUS_CHIPS = "i2c@1e78a000/i2c-bus@40/ucd90160@64" |
| 4 | ZAIUS_ITEMSFMT = "ahb/apb/{0}.conf" |
Emily Shaffer | e412be5 | 2017-05-05 18:12:44 -0700 | [diff] [blame] | 5 | |
Andrew Geissler | 0a69ebe | 2017-07-12 16:19:14 -0500 | [diff] [blame] | 6 | ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}" |
| 7 | |
| 8 | ZAIUS_OCCS = " \ |
| 9 | sbefifo@2400/occ@1/occ-hwmon@1 \ |
| 10 | hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \ |
| 11 | " |
| 12 | ZAIUS_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf" |
| 13 | ZAIUS_OCCITEMS = "${@compose_list(d, 'ZAIUS_OCCSFMT', 'ZAIUS_OCCS')}" |
Emily Shaffer | e412be5 | 2017-05-05 18:12:44 -0700 | [diff] [blame] | 14 | |
| 15 | ENVS = "obmc/hwmon/{0}" |
Andrew Geissler | 0a69ebe | 2017-07-12 16:19:14 -0500 | [diff] [blame] | 16 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_ITEMS')}" |
| 17 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_OCCITEMS')}" |