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 | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 13 | OCCS = " \ |
Joel Stanley | 46a87d4 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 14 | 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \ |
| 15 | 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] | 16 | " |
| 17 | |
Joel Stanley | 46a87d4 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 18 | OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf" |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 19 | OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}" |
| 20 | |
| 21 | ENVS = "obmc/hwmon/{0}" |
Lei YU | 521fe76 | 2017-11-24 15:36:06 +0800 | [diff] [blame] | 22 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" |
Lei YU | e5cf2d8 | 2017-06-20 15:00:16 +0800 | [diff] [blame] | 23 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'OCCITEMS')}" |