smbios-mdr: Add GRPC_BLOB option to CMakeLists and mdrv2_main

This changes CMakeLists.txt to add the GRPC_BLOB option, similar to the
existing IPMI_BLOB option. It allows gRPC support to be enabled or
disabled.

This also makes changes to mdrv2_main.cpp, to start and stop the gRPC
server appropriately.

Patch Tracking Bug: b/291660556
Upstream info / review: https://gerrit.openbmc.org/c/openbmc/smbios-mdr/+/65050
Upstream-Status: Pending
Justification: Pending upstream review

Google-Bug-Id: 289443521
Change-Id: I3424514e362dd6764eab8dbee3d5fae3fe2bfa8c
Signed-off-by: Josh Lehan <krellan@google.com>
2 files changed
tree: 60f463704b824198c03176c8049ef69815030d41
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. LICENSE
  13. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.