tools: start burn_my_bmc tool
Start implementation of burn_my_bmc host tool, the purpose of which is
to upload the firmware image and trigger the verification process.
The utility will accept four parameters:
1) command - the command to run, initially only "update"
2) interface - the data interface to use, e.g. lpc or pci
3) image - the path to the image file
4) sig - the path to the image's signature file
Change-Id: Ifbab7df947f37dd3a6fddddcf523c0fa724c9551
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/Makefile.am b/tools/Makefile.am
new file mode 100644
index 0000000..88c72e2
--- /dev/null
+++ b/tools/Makefile.am
@@ -0,0 +1,11 @@
+noinst_PROGRAMS = burn_my_bmc
+
+burn_my_bmc_SOURCES = main.cpp
+burn_my_bmc_LDADD = libupdater.la
+burn_my_bmc_CXXFLAGS =
+
+noinst_LTLIBRARIES = libupdater.la
+libupdater_la_LDFLAGS = -static
+libupdater_la_CXXFLAGS =
+libupdater_la_SOURCES = \
+ updater.cpp