| HOMEPAGE = "https://gbmc.googlesource.com/nsmd" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| SRC_URI = "git://gbmc.googlesource.com/nsmd;branch=google-dev-2;protocol=https" |
| SRCREV = "7816d5cebe45662f6e4f39ab44ac337ab26c641d" |
| |
| PR = "r1" |
| PV = "1.0+git${SRCPV}" |
| |
| SUMMARY = "Nvidia System Management Daemon (Google Fork)" |
| DESCRIPTION = "Nvidia System Management Daemon (Google Fork)" |
| |
| inherit meson pkgconfig systemd |
| |
| DEPENDS += "function2" |
| DEPENDS += "systemd" |
| DEPENDS += "sdeventplus" |
| DEPENDS += "phosphor-dbus-interfaces" |
| DEPENDS += "nlohmann-json" |
| DEPENDS += "cli11" |
| DEPENDS += "libmctp" |
| DEPENDS += "phosphor-logging" |
| DEPENDS += "googletest" |
| DEPENDS += "sdbusplus" |
| |
| CXXFLAGS:append = " -I${STAGING_INCDIR}" |
| |
| EXTRA_OEMESON = " -Denable-in-kernel-mctp=enabled -Dshmem=disabled -Dtests=disabled -Denable-histogram=disabled -Dtracing=disabled -Dnvidia-fpga-pcie-reference-clock-count=disabled -Dfixup-missing-event-notification=disabled -Dcx8-features=true -Denable-association-discovery=enabled" |
| |
| S = "${WORKDIR}/git" |
| SYSTEMD_SERVICE:${PN} += "nsmd.service" |
| |
| # Specify the files to be installed |
| FILES:${PN} += "${bindir}/nsmd" |
| FILES:${PN} += "${systemd_system_unitdir}/nsmd.service" |
| FILES:${PN} += "${datadir}/libnsm/instance-db/default" |
| |
| do_install:append () { |
| # Ensure libnsm data is kept |
| # No need to explicitly keep /usr/share/libnsm, just avoid deleting it. |
| } |