start supported blob_id list
Each enabled update mechanism can set its own blob_id that can have its
own details.
Change-Id: I363961cea8deb814c3b2e3c416c992fbf955f5e0
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index b022138..4c056da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,16 @@
AC_CHECK_HEADER([blobs-ipmid], [AC_MSG_ERROR(["phosphor-ipmi-blobs required and not found."])])
AX_PTHREAD([], [AC_MSG_ERROR(["pthread required and not found"])])
+# Configurability
+# Enable static layout for firmware image staging.
+AC_ARG_ENABLE([static-layout],
+ AS_HELP_STRING([--enable-static-layout],
+ [Enable static layout firmware update via Blobs]))
+AS_IF([test "x$enable_static_layout" = "xyes"], [
+ AX_APPEND_COMPILE_FLAGS([-DENABLE_STATIC_LAYOUT], [CXXFLAGS])
+])
+# Enable BlockTransfer, P2A, and or LPC.
+
# Check/set gtest specific functions.
PKG_CHECK_MODULES([GTEST], [gtest], [], [AC_MSG_NOTICE([gtest not found, tests will not build])])
PKG_CHECK_MODULES([GMOCK], [gmock], [], [AC_MSG_NOTICE([gmock not found, tests will not build])])