tools: remove phosphor-ipmi-blobs dependency
The host tool depended on the BMC header: firmware_handler.hpp because
it defined the flags. This header depends on phosphor-ipmi-blobs,
therefore the host-tool depends on this. Move the flags into a separate
common header file and snip this dependency.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4
diff --git a/tools/p2a.hpp b/tools/p2a.hpp
index 920422f..c84f12d 100644
--- a/tools/p2a.hpp
+++ b/tools/p2a.hpp
@@ -30,9 +30,9 @@
}
bool sendContents(const std::string& input, std::uint16_t session) override;
- ipmi_flash::FirmwareBlobHandler::UpdateFlags supportedType() const override
+ ipmi_flash::FirmwareFlags::UpdateFlags supportedType() const override
{
- return ipmi_flash::FirmwareBlobHandler::UpdateFlags::p2a;
+ return ipmi_flash::FirmwareFlags::UpdateFlags::p2a;
}
private: