diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2018-11-20 22:14:07 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-12-03 20:24:22 +0300 |
commit | efc72a0d96697e3cc0027fbc6d5365eb7ce84866 (patch) | |
tree | bb78ea50bab41037994abfc8e0b43e6e66421530 | |
parent | 29499aaea23686384fdc3cc4044497d8812b4358 (diff) | |
download | openbmc-efc72a0d96697e3cc0027fbc6d5365eb7ce84866.tar.xz |
Add dbus-sensors recipe
This adds the recipe to build the dbus-sensors from s2600wf-misc
repo. dbus-sensors is a dbus-configurable sensors project which
configures cpu, temp, fan and ADC sensors.
(From meta-phosphor rev: 1c03afe08cb8362f3e446590ec725737e9a40360)
Change-Id: I51d37784209f8ba73382b03891f0553829e1be05
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb new file mode 100644 index 000000000..5e6eda15c --- /dev/null +++ b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb @@ -0,0 +1,26 @@ +SUMMARY = "dbus-sensors" +DESCRIPTION = "Dbus Sensor Services Configured from D-Bus" + +SRC_URI = "git://github.com/openbmc/dbus-sensors.git" +SRCREV = "2ef26fbf11d10651838993e7499d2be5d1cc1dad" + +PV = "0.1+git${SRCPV}" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.fansensor.service" +SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.adcsensor.service" +SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.hwmontempsensor.service" +SYSTEMD_SERVICE_${PN} += " xyz.openbmc_project.cpusensor.service" + +DEPENDS = "boost nlohmann-json sdbusplus" +inherit cmake systemd + +S = "${WORKDIR}/git/" + +# linux-libc-headers guides this way to include custom uapi headers +CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" +CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" +do_configure[depends] += "virtual/kernel:do_shared_workdir" +EXTRA_OECMAKE = "-DYOCTO=1" |