fw-update: Implement firmware update package parser
PackageParser implements parsing the common elements across version
1 and version 2 of the PackageHeader. PackageParserV1 handles parsing
the package header version 1 as defined in DSP0267_1.0.0 and
DSP0267_1.0.1.
Tested: Unit tests added
Signed-off-by: Tom Joseph <rushtotom@gmail.com>
Change-Id: Iddabd435755f462c042a85a286b1b0a50eb346b1
diff --git a/meson.build b/meson.build
index f63d950..a5b04ae 100644
--- a/meson.build
+++ b/meson.build
@@ -195,6 +195,7 @@
'pldmd/instance_id.cpp',
'pldmd/dbus_impl_pdr.cpp',
'fw-update/inventory_manager.cpp',
+ 'fw-update/package_parser.cpp',
implicit_include_directories: false,
dependencies: deps,
install: true,