1## @file 2# Sample UEFI Application Reference EDKII Module. 3# 4# This is a sample shell application that will print "UEFI Hello World!" to the 5# UEFI Console based on PCD setting. 6# 7# It demos how to use EDKII PCD mechanism to make code more flexible. 8# 9# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR> 10# 11# This program and the accompanying materials 12# are licensed and made available under the terms and conditions of the BSD License 13# which accompanies this distribution. The full text of the license may be found at 14# http://opensource.org/licenses/bsd-license.php 15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 17# 18# 19## 20 21[Defines] 22 INF_VERSION = 0x00010005 23 BASE_NAME = HelloWorld 24 MODULE_UNI_FILE = HelloWorld.uni 25 FILE_GUID = 6987936E-ED34-44db-AE97-1FA5E4ED2116 26 MODULE_TYPE = UEFI_APPLICATION 27 VERSION_STRING = 1.0 28 ENTRY_POINT = UefiMain 29 30# 31# This flag specifies whether HII resource section is generated into PE image. 32# 33 UEFI_HII_RESOURCE_SECTION = TRUE 34 35# 36# The following information is for reference only and not required by the build tools. 37# 38# VALID_ARCHITECTURES = IA32 X64 IPF EBC 39# 40 41[Sources] 42 HelloWorld.c 43 HelloWorldStr.uni 44 45[Packages] 46 MdePkg/MdePkg.dec 47 MdeModulePkg/MdeModulePkg.dec 48 49[LibraryClasses] 50 UefiApplicationEntryPoint 51 UefiLib 52 PcdLib 53 54[FeaturePcd] 55 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable ## CONSUMES 56 57[Pcd] 58 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable ## SOMETIMES_CONSUMES 59 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable ## SOMETIMES_CONSUMES 60 61[UserExtensions.TianoCore."ExtraFiles"] 62 HelloWorldExtra.uni 63