pldmd-google-dev-common: add new recipe tracking google-dev-common Adds pldmd-google-dev-common_git.bb tracking the google-dev-common branch. Tested: Verified full project image build successfully. Google-Bug-Id: 518906059 Fusion-Link: http://fusion2/ci/kokoro/prod%3Agbmc%2Ffirmware-build%2Ffirmware%2Fredacted_gbmc_platforms/activity/218ada5d-9813-43d0-b4b8-fb70009e5b4b Change-Id: I3313b20a50091f25eef0639d2af440d5131287ac Signed-off-by: Guangzong Chen <guangzong@google.com> TAG=agy CONV=810d7daf-dc3e-427e-a92f-09bd100776c6
diff --git a/recipes-google/pldmd/pldmd-google-dev-common_git.bb b/recipes-google/pldmd/pldmd-google-dev-common_git.bb new file mode 100644 index 0000000..5e30ada --- /dev/null +++ b/recipes-google/pldmd/pldmd-google-dev-common_git.bb
@@ -0,0 +1,47 @@ +SUMMARY = "PLDM stack for google-dev-common" +DESCRIPTION = "PLDM responder stack for google-dev-common" +PR = "r1" +PV = "0.1+git${SRCPV}" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +inherit meson pkgconfig systemd + +S = "${WORKDIR}/git" +SRC_URI = "git://gbmc.googlesource.com/pldm;protocol=https;branch=google-dev-common" +SRCREV = "8bb94e2e642a5326b444d10f9b8e7b36e24b39f9" + +DEPENDS += " \ + boost \ + cli11 \ + function2 \ + libpldm-google \ + nlohmann-json \ + phosphor-dbus-interfaces \ + phosphor-logging \ + sdbusplus \ + sdeventplus \ + stdplus \ + systemd \ +" + +EXTRA_OEMESON:append:gbmc = " \ + -Dtests=disabled \ + -Dsoftoff=disabled \ + -Doem-ibm=disabled \ + -Doem-ampere=disabled \ + -Dtransport-implementation=af-mctp \ +" + +SYSTEMD_SERVICE:${PN} = "pldmd.service" + +do_install:append() { + rm -rf ${D}${datadir}/pldm + install -d ${D}${datadir}/pldm/pdr +} + +FILES:${PN} += " \ + ${datadir}/libpldm \ + ${datadir}/pldm \ +"