sensorhandler: remove IPMI_CMD command

The IPMI_CMD declared in sensorhandler.hpp is redundant because these
commands are already declared in api-types.hpp, so this commit
removes all IPMI_CMD in sensorhandler.hpp.

Change-Id: Idc3586d82f3d9905c5ae214e652724ca6425aae7
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
2 files changed
tree: 583f8bdf3b5a6a1a766a66cdec4921c5415c1e10
  1. app/
  2. dbus-sdr/
  3. docs/
  4. include/
  5. libipmid/
  6. scripts/
  7. softoff/
  8. subprojects/
  9. test/
  10. user_channel/
  11. xyz/
  12. .build.sh
  13. .clang-format
  14. .gitignore
  15. .shellcheck
  16. .travis.yml
  17. apphandler.cpp
  18. apphandler.hpp
  19. chassishandler.cpp
  20. chassishandler.hpp
  21. dcmihandler.cpp
  22. dcmihandler.hpp
  23. error-HostEvent.hpp
  24. fruread.hpp
  25. generate_whitelist.sh
  26. generate_whitelist_create.sh
  27. globalhandler.cpp
  28. groupext.cpp
  29. host-cmd-manager.cpp
  30. host-cmd-manager.hpp
  31. host-interface.cpp
  32. host-interface.hpp
  33. host-ipmid-whitelist.conf
  34. ipmi_fru_info_area.cpp
  35. ipmi_fru_info_area.hpp
  36. ipmiallowlist.hpp
  37. ipmid-new.cpp
  38. ipmisensor.cpp
  39. LICENSE
  40. meson.build
  41. meson.options
  42. OWNERS
  43. read_fru_data.cpp
  44. read_fru_data.hpp
  45. README.md
  46. selutility.cpp
  47. selutility.hpp
  48. sensordatahandler.cpp
  49. sensordatahandler.hpp
  50. sensorhandler.cpp
  51. sensorhandler.hpp
  52. settings.cpp
  53. settings.hpp
  54. storageaddsel.cpp
  55. storageaddsel.hpp
  56. storagehandler.cpp
  57. storagehandler.hpp
  58. sys_info_param.cpp
  59. sys_info_param.hpp
  60. systemintfcmds.cpp
  61. systemintfcmds.hpp
  62. transportconstants.hpp
  63. transporthandler.cpp
  64. transporthandler.hpp
  65. whitelist-filter.cpp
README.md

phosphor-host-ipmid

Compile ipmid with default options

meson builddir
ninja -C builddir

Compile ipmid with yocto defaults

meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled
ninja -C builddir

If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects.

Enable/Disable meson wrap feature

meson builddir -Dwrap_mode=nofallback
ninja -C builddir

Enable debug traces

meson builddir -Dbuildtype=debug
ninja -C builddir

Generate test coverage report

meson builddir -Db_coverage=true -Dtests=enabled
ninja -C builddir test
ninja -C builddir coverage