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 | b7045c3 | 2018-12-12 17:40:28 +0000 | [diff] [blame^] | 5 | SRCREV = "1d123a17023ed9af0578d9c50fb384d1c00d8a91" |
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" |
| 16 | |
| 17 | DEPENDS = "boost nlohmann-json sdbusplus" |
| 18 | inherit cmake systemd |
| 19 | |
| 20 | S = "${WORKDIR}/git/" |
| 21 | |
| 22 | # linux-libc-headers guides this way to include custom uapi headers |
| 23 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 24 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" |
| 25 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 26 | EXTRA_OECMAKE = "-DYOCTO=1" |