Lei YU | 18e6986 | 2017-10-12 10:28:20 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | |||||
3 | NAMES = " \ | ||||
4 | i2c@1e78a000/i2c-bus@140/occ-hwmon@50 \ | ||||
5 | i2c@1e78a000/i2c-bus@180/occ-hwmon@51 \ | ||||
6 | i2c@1e78a000/i2c-bus@400/rtc@68 \ | ||||
7 | " | ||||
8 | |||||
9 | ITEMSFMT = "ahb/apb/{0}.conf" | ||||
10 | |||||
11 | ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}" | ||||
12 | |||||
13 | ENVS = "obmc/hwmon/{0}" | ||||
14 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" |