Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
Lei YU | 2f0d046 | 2018-04-02 14:18:26 +0800 | [diff] [blame] | 3 | EXTRA_OECONF_append_romulus = " --enable-negative-errno-on-fail" |
Lei YU | fe2db2b | 2017-11-24 15:30:54 +0800 | [diff] [blame] | 4 | |
Lei YU | 521fe76 | 2017-11-24 15:36:06 +0800 | [diff] [blame] | 5 | CHIPS = " \ |
Lei YU | 057e7af | 2018-01-24 17:28:48 +0800 | [diff] [blame] | 6 | i2c@1e78a000/i2c-bus@440/w83773g@4c \ |
Lei YU | 521fe76 | 2017-11-24 15:36:06 +0800 | [diff] [blame] | 7 | pwm-tacho-controller@1e786000 \ |
| 8 | " |
| 9 | ITEMSFMT = "ahb/apb/{0}.conf" |
| 10 | |
| 11 | ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}" |
| 12 | |
Lei YU | 72cab61 | 2018-07-27 13:30:59 +0800 | [diff] [blame] | 13 | ITEMS += "iio-hwmon-battery.conf" |
| 14 | |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 15 | OCCS = " \ |
Joel Stanley | 46a87d4 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 16 | 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \ |
| 17 | 00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \ |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 18 | " |
| 19 | |
Joel Stanley | 46a87d4 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 20 | OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf" |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 21 | OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}" |
| 22 | |
| 23 | ENVS = "obmc/hwmon/{0}" |
Lei YU | 521fe76 | 2017-11-24 15:36:06 +0800 | [diff] [blame] | 24 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 25 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'OCCITEMS')}" |