Vijay Khemka | efc72a0 | 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 | e55311c | 2019-01-31 18:22:15 +0000 | [diff] [blame^] | 5 | SRCREV = "2a408b946e7107426e4ec19f19782cae04fceab8" |
Vijay Khemka | efc72a0 | 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 | aac4f70 | 2018-12-12 09:40:58 -0800 | [diff] [blame] | 16 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.exitairsensor.service" |
Vijay Khemka | efc72a0 | 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" |