Disable MDR V1 related OEM commands

MDR V1 service is disable since MDR V2 service has already covered
all MDR V1 features,
these V1 related OEM commands should be disabled too.

Tested:
ipmitool raw 0x3e 0x23 0x01 0xff 0x00 0x00
return 0xc1: Invalid command

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: I350280143918b01757dcdbf5ab7e40c9fc0b01c6
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2bbf250..f6e5034 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,9 +110,12 @@
         "Enables unsecure features required by validation. Note: must
         be turned off for production images."
         OFF)
+option (MDR_V1_SUPPORT "Support these MDR Verseion 1 IPMI OEM commands" OFF)
+
 target_compile_definitions (
     zinteloemcmds PRIVATE
     $<$<BOOL:${INTEL_PFR_ENABLED}>: -DINTEL_PFR_ENABLED>
     $<$<BOOL:${BMC_VALIDATION_UNSECURE_FEATURE}>:
     -DBMC_VALIDATION_UNSECURE_FEATURE>
+    $<$<BOOL:${MDR_V1_SUPPORT}>: -DMDR_V1_SUPPORT>
 )