blob: 536d797fa60d441802587b06dd6196707742ef25 [file] [log] [blame]
Lei YUe5cf2d82017-06-20 15:00:16 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
Lei YU2f0d0462018-04-02 14:18:26 +08003EXTRA_OECONF_append_romulus = " --enable-negative-errno-on-fail"
Lei YUfe2db2b2017-11-24 15:30:54 +08004
Lei YU521fe762017-11-24 15:36:06 +08005CHIPS = " \
Lei YU057e7af2018-01-24 17:28:48 +08006 i2c@1e78a000/i2c-bus@440/w83773g@4c \
Lei YU521fe762017-11-24 15:36:06 +08007 pwm-tacho-controller@1e786000 \
8 "
9ITEMSFMT = "ahb/apb/{0}.conf"
10
11ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}"
12
Lei YUe5cf2d82017-06-20 15:00:16 +080013OCCS = " \
Joel Stanley46a87d42017-09-05 17:44:33 +100014 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 YUe5cf2d82017-06-20 15:00:16 +080016 "
17
Joel Stanley46a87d42017-09-05 17:44:33 +100018OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf"
Lei YUe5cf2d82017-06-20 15:00:16 +080019OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}"
20
21ENVS = "obmc/hwmon/{0}"
Lei YU521fe762017-11-24 15:36:06 +080022SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}"
Lei YUe5cf2d82017-06-20 15:00:16 +080023SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'OCCITEMS')}"