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 | 0a6befa | 2019-09-23 17:11:17 +0000 | [diff] [blame^] | 5 | SRCREV = "de5e9705ff9d75dd5db2ea76d649c9bbba9f5e7a" |
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" |
James Feist | a1eef88 | 2019-01-30 10:15:41 -0800 | [diff] [blame] | 17 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.ipmbsensor.service" |
Qiang XU | f7617ee | 2019-02-01 08:41:36 +0800 | [diff] [blame] | 18 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.intrusionsensor.service" |
Cheng C Yang | 57255c9 | 2019-04-16 17:04:57 +0800 | [diff] [blame] | 19 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.psusensor.service" |
Andrew Geissler | 53088f6 | 2019-06-20 12:12:44 +0000 | [diff] [blame] | 20 | SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.mcutempsensor.service" |
Vijay Khemka | 1c03afe | 2018-11-20 11:14:07 -0800 | [diff] [blame] | 21 | |
James Feist | 4a5ee87 | 2019-05-30 16:25:37 -0700 | [diff] [blame] | 22 | DEPENDS = "boost nlohmann-json sdbusplus i2c-tools libgpiod" |
Vijay Khemka | 1c03afe | 2018-11-20 11:14:07 -0800 | [diff] [blame] | 23 | inherit cmake systemd |
| 24 | |
| 25 | S = "${WORKDIR}/git/" |
| 26 | |
| 27 | # linux-libc-headers guides this way to include custom uapi headers |
| 28 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 29 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" |
| 30 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 31 | EXTRA_OECMAKE = "-DYOCTO=1" |