Attn: Add build info to binary

Build information will be generated and embedded into the binary. This
info will be displayed in the help text when you execute the binary
without any command line options. This change has a libhei dependency.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I8caf1694f5b656557aa862eefb77b88d0b892d41
diff --git a/main_nl.cpp b/main_nl.cpp
index b9c168e..3510e8a 100644
--- a/main_nl.cpp
+++ b/main_nl.cpp
@@ -5,6 +5,7 @@
 #include <attn/attn_config.hpp>
 #include <attn/attn_handler.hpp>
 #include <attn/attn_main.hpp>
+#include <buildinfo.hpp>
 #include <cli.hpp>
 
 /**
@@ -31,6 +32,7 @@
         printf("options:\n");
         printf("  --analyze:              Analyze the hardware\n");
         printf("  --daemon:               Start the attn handler daemon\n");
+        printf("hwdiag: %s, hei: %s\n", BUILDINFO, analyzer::getBuildInfo());
     }
     else
     {