diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-10-09 15:26:44 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-10-17 08:27:25 -0500 |
commit | 4772a944dc93438752af5deee1dd2350c8c69389 (patch) | |
tree | 383c171085430e9b37832f2c7d7b9b34841e7a41 /configure.ac | |
parent | 139604e561c932cb30262ae08ac3b9383b1745a2 (diff) | |
download | openpower-pnor-code-mgmt-4772a944dc93438752af5deee1dd2350c8c69389.tar.gz openpower-pnor-code-mgmt-4772a944dc93438752af5deee1dd2350c8c69389.zip |
msl_verify: Initial commit
Create a new binary that checks the msl (minimum ship level)
of the PNOR and logs an error message if the version on the
system is older. The msl can be specified via a config flag.
Change-Id: I6f477400f7a8cf56557bd0caf5d6e08d73320028
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7153727c7..95b70e3a2 100755 --- a/configure.ac +++ b/configure.ac @@ -151,5 +151,14 @@ AC_ARG_VAR(ACTIVE_PNOR_MAX_ALLOWED, [The maximum allowed active pnor versions]) AS_IF([test "x$ACTIVE_PNOR_MAX_ALLOWED" == "x"], [ACTIVE_PNOR_MAX_ALLOWED=2]) AC_DEFINE_UNQUOTED([ACTIVE_PNOR_MAX_ALLOWED], [$ACTIVE_PNOR_MAX_ALLOWED], [The maximum allowed active pnor versions]) +AC_ARG_VAR(PNOR_MSL, [The PNOR minimum ship level]) +AS_IF([test "x$PNOR_MSL" == "x"], [PNOR_MSL=""]) +AC_DEFINE_UNQUOTED([PNOR_MSL], ["$PNOR_MSL"], [The PNOR minimum ship level]) + +AC_ARG_VAR(PNOR_VERSION_PARTITION, [The name of the PNOR version partition]) +AS_IF([test "x$PNOR_VERSION_PARTITION" == "x"], [PNOR_VERSION_PARTITION="VERSION"]) +AC_DEFINE_UNQUOTED([PNOR_VERSION_PARTITION], ["$PNOR_VERSION_PARTITION"], + [The name of the PNOR version partition]) + AC_CONFIG_FILES([Makefile test/Makefile]) AC_OUTPUT |