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