fw update: library to create pldm fw package

Implement some helper functions to easily create a pldm fw package in a
few lines of user code.

This is helpful for unit testing the code update flow.

The package created is for testing purpose. The library is not
fully-featured or complete and should not be relied upon for anything
other than the tests in this repo.

https://github.com/openbmc/docs/blob/master/designs/code-update.md

Tested: next few patches in series

Change-Id: If899e5537a2e5ac641544ca80e8876d83549da28
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/test/create_package/meson.build b/test/create_package/meson.build
new file mode 100644
index 0000000..44cc9fe
--- /dev/null
+++ b/test/create_package/meson.build
@@ -0,0 +1,12 @@
+
+libpldmcreatepkg = static_library('pldmcreatepkg',
+  'create_pldm_fw_package.cpp',
+  'firmware_device_id_area.cpp',
+  'component_image_info_area.cpp',
+  include_directories: ['.'],
+  dependencies: [
+    phosphor_logging_dep,
+    libpldm_dep,
+  ],
+  install: false,
+)