Make PLDM an optional feature for host dump offload

Host dumps are dumps which created and stored in the host
but offloaded through BMC.
With this change if the host dump needs to de downloaded
the transport mechanism also needs to be provided
    --with-host-dump-offload-transport=<transport>
for eg:
    --with-host-dump-offload-transport=pldm
If no options provided the phosphor-dump-manager will be built
with no host dump offload support and an exception will be thrown
if someone tried to call the host dump offload function.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I27311427d8ca8b06b9f33ff5f42bdc7ca87fdcd1
10 files changed
tree: 1299bc3e4e78893eff918c1db52c9abc0b8f260c
  1. offload-extensions/
  2. tools/
  3. xyz/
  4. .clang-format
  5. .gitignore
  6. bmc_dump_entry.cpp
  7. bmc_dump_entry.hpp
  8. bootstrap.sh
  9. configure.ac
  10. core_manager.cpp
  11. core_manager.hpp
  12. core_manager_main.cpp
  13. dump_entry.cpp
  14. dump_entry.hpp
  15. dump_internal.hpp
  16. dump_manager.cpp
  17. dump_manager.hpp
  18. dump_manager_main.cpp
  19. dump_serialize.cpp
  20. dump_serialize.hpp
  21. dump_utils.cpp
  22. dump_utils.hpp
  23. elog_watch.cpp
  24. elog_watch.hpp
  25. errors_map.mako.hpp
  26. errors_map_gen.py
  27. example_errors_watch.yaml
  28. ffdc
  29. LICENSE
  30. MAINTAINERS
  31. Makefile.am
  32. offload-extensions.hpp
  33. README.md
  34. system_dump_entry.cpp
  35. system_dump_entry.hpp
  36. watch.cpp
  37. watch.hpp
README.md

phosphor-debug-collector

Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.