]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/HelloWorld/HelloWorld.inf
Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / Application / HelloWorld / HelloWorld.inf
index 11b3a83d24812e617a3aff8619409c75453cbfb5..18844ee905fe48ba1bb1081f705511fc2e67db04 100644 (file)
@@ -1,10 +1,14 @@
-#/** @file\r
-# Sample UEFI Application Reference Module\r
+## @file\r
+#  Sample UEFI Application Reference EDKII Module\r
 #\r
-# This is a shell application that will display Hello World.\r
-# Copyright (c) 2007 - 2007, Intel Corporation.\r
+#  This is a sample shell application that will print "UEFI Hello World!" to the \r
+#  UEFI Console based on PCD setting.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  It demos how to use EDKII PCD mechanism to make code more flexible.\r
+#\r
+#  Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#\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
 #  http://opensource.org/licenses/bsd-license.php\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = HelloWorld\r
   FILE_GUID                      = 6987936E-ED34-44db-AE97-1FA5E4ED2116\r
   MODULE_TYPE                    = UEFI_APPLICATION\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = UefiMain\r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
   HelloWorld.c\r
 \r
-\r
-################################################################################\r
-#\r
-# Includes Section - list of Include locations that are required for\r
-#                    this module.\r
-#\r
-################################################################################\r
-\r
-[Includes]\r
-  $(WORKSPACE)/MdePkg\Include/Library\r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
-\r
 [Packages]\r
-  $(WORKSPACE)\MdeModulePkg/MdeModulePkg.dec\r
-  $(WORKSPACE)\MdePkg/MdePkg.dec\r
-\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
 \r
 [LibraryClasses]\r
-  UefiBootServicesTableLib\r
   UefiApplicationEntryPoint\r
   UefiLib\r
-  DebugLib\r
+  PcdLib\r
 \r
+[Guids]\r
 \r
-################################################################################\r
-#\r
-# Build Options - list of custom build options for this module.\r
-#\r
-################################################################################\r
+[Ppis]\r
+\r
+[Protocols]\r
+\r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r
 \r
-[BuildOptions]\r
-  *_MYTOOLS_*_CC_FLAGS           = /WX-\r
-  *_VS2005PRO_*_CC_FLAGS         = /WX-\r
-  *_WINDDK3790x1830_*_CC_FLAGS   = /WX-\r
-  *_ICC_*_CC_FLAGS               = /WX-\r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable  ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes  || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable  ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r