Vijay Khemka | 1c03afe | 2018-11-20 11:14:07 -0800 | [diff] [blame] | 1 | SUMMARY = "dbus-sensors" |
| 2 | DESCRIPTION = "Dbus Sensor Services Configured from D-Bus" |
| 3 | |
| 4 | SRC_URI = "git://github.com/openbmc/dbus-sensors.git" |
Andrew Geissler | 9dc4b82 | 2018-12-21 18:30:27 +0000 | [diff] [blame] | 5 | SRCREV = "40a721466cb8de405afb7e0cd5f653fb38a1d106" |
Vijay Khemka | 1c03afe | 2018-11-20 11:14:07 -0800 | [diff] [blame] | 6 | |
| 7 | PV = "0.1+git${SRCPV}" |
| 8 | |
| 9 | LICENSE = "Apache-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 11 | |
| 12 | SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.fansensor.service" |
| 13 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.adcsensor.service" |
| 14 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.hwmontempsensor.service" |
| 15 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.cpusensor.service" |
James Feist | 4fb7670 | 2018-12-12 09:40:58 -0800 | [diff] [blame] | 16 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.exitairsensor.service" |
Vijay Khemka | 1c03afe | 2018-11-20 11:14:07 -0800 | [diff] [blame] | 17 | |
| 18 | DEPENDS = "boost nlohmann-json sdbusplus" |
| 19 | inherit cmake systemd |
| 20 | |
| 21 | S = "${WORKDIR}/git/" |
| 22 | |
| 23 | # linux-libc-headers guides this way to include custom uapi headers |
| 24 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 25 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" |
| 26 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 27 | EXTRA_OECMAKE = "-DYOCTO=1" |