]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Force UID modules build error to warn user that currently it is just a sample.
authorDong Guo <guo.dong@intel.com>
Fri, 21 Mar 2014 00:57:42 +0000 (00:57 +0000)
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Mar 2014 00:57:42 +0000 (00:57 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15356 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/SecurityPkg.dsc
SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProvider.c
SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProvider.c
SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c

index 591062c041d73c931a4e81809ddfe4e403dca01d..e7e70512e813dcde4c0bfc7af1aabe297400caea 100644 (file)
 [Components]\r
   SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf\r
   SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
-  SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
+  #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
   SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
-  SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r
-  SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r
+  #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r
+  #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r
 \r
   #\r
   # Application\r
 \r
 [Components.IA32, Components.X64, Components.IPF]\r
   SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r
-  SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r
+#  SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r
   SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
   SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf\r
 \r
index cf7fe4079ad88dfa146e8362a65cff82fae48c03..b9e89cbfe79610c7960fc023e87302e83567e300 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Password Credential Provider driver implementation.\r
     \r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -1427,6 +1427,11 @@ PasswordProviderInit (
 {\r
   EFI_STATUS  Status;\r
 \r
+  //\r
+  // It is NOT robust enough to be included in production.\r
+  //\r
+  #error "This implementation is just a sample, please comment this line if you really want to use this driver."\r
+\r
   //\r
   // Init credential table.\r
   //\r
index f851bb2e2d444811d995bafd26711b12360b2618..046a50052d78df90aca61b48bd14b96141bbd6dc 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Usb Credential Provider driver implemenetation.\r
     \r
-Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -1376,6 +1376,11 @@ UsbProviderInit (
 {\r
   EFI_STATUS  Status;\r
 \r
+  //\r
+  // It is NOT robust enough to be included in production.\r
+  //\r
+  #error "This implementation is just a sample, please comment this line if you really want to use this driver."\r
+\r
   //\r
   // Init credential table.\r
   //\r
index adcf9bf6528d235914cec2dbcc64fe13033a44a0..a7467b366290e4bcc8a962292646a4c5c7d94cf2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This driver manages user information and produces user manager protocol.\r
   \r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -3735,6 +3735,11 @@ UserIdentifyManagerInit (
 \r
   EFI_STATUS  Status;\r
 \r
+  //\r
+  // It is NOT robust enough to be included in production.\r
+  //\r
+  #error "This implementation is just a sample, please comment this line if you really want to use this driver."\r
+\r
   //\r
   // Initiate form browser.\r
   //\r