| SUMMARY = "nvmed" |
| DESCRIPTION = "An NVMe MI management stack for OpenBMC" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| DEPENDS = " \ |
| boost \ |
| i2c-tools \ |
| libgpiod \ |
| libnvme \ |
| liburing \ |
| nlohmann-json \ |
| phosphor-logging \ |
| sdbusplus \ |
| ${PYTHON_PN}-sdbus++-native \ |
| phosphor-dbus-interfaces \ |
| " |
| |
| SRC_URI = "git://gbmc.googlesource.com/dbus-sensors;protocol=https;branch=google-dev" |
| |
| # Modify these as desired |
| PV = "1.0+git" |
| SRCREV = "ced75bb30226d518211683ea19ea592327b3d16f" |
| |
| S = "${WORKDIR}/git" |
| |
| inherit pkgconfig meson systemd |
| |
| FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| |
| SRC_URI:append = "\ |
| file://0001-Revert-Disable-other-sensors-by-default.patch \ |
| " |
| |
| EXTRA_OEMESON:append = " \ |
| -Dadc=disabled \ |
| -Dexit-air=disabled \ |
| -Dexternal=disabled \ |
| -Dfan=disabled \ |
| -Dhwmon-temp=disabled \ |
| -Dintel-cpu=disabled \ |
| -Dintrusion=disabled \ |
| -Dipmb=disabled \ |
| -Dmcu=disabled \ |
| -Dpsu=disabled \ |
| -Dtests=disabled \ |
| " |
| |
| # Enable the nvmed |
| EXTRA_OEMESON:append = " \ |
| -Dnvme=enabled \ |
| -Dbuild-type=bitbake \ |
| " |
| |
| SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.nvmesensor.service" |