]>
Commit | Line | Data |
---|---|---|
804405e7 | 1 | #/** @file\r |
2 | # Entry Point of Unix Emulator\r | |
3 | #\r | |
4 | # Main executable file of Unix Emulator that loads PEI core after initialization finished.\r | |
5 | # Copyright (c) 2008, Intel Corporation\r | |
6 | #\r | |
7 | # All rights reserved. This program and the accompanying materials\r | |
8 | # are licensed and made available under the terms and conditions of the BSD License\r | |
9 | # which accompanies this distribution. The full text of the license may be found at\r | |
10 | # http://opensource.org/licenses/bsd-license.php\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | #\r | |
14 | #\r | |
15 | #**/\r | |
16 | \r | |
17 | [Defines]\r | |
18 | INF_VERSION = 0x00010005\r | |
19 | BASE_NAME = SecMain\r | |
20 | FILE_GUID = f43be88c-8985-11db-8f78-0040d02b1835\r | |
73aa7f04 | 21 | MODULE_TYPE = USER_DEFINED\r |
804405e7 | 22 | VERSION_STRING = 1.0\r |
23 | EDK_RELEASE_VERSION = 0x00020000\r | |
24 | EFI_SPECIFICATION_VERSION = 0x00020000\r | |
25 | ENTRY_POINT = main\r | |
26 | \r | |
27 | #\r | |
28 | # The following information is for reference only and not required by the build tools.\r | |
29 | #\r | |
30 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
31 | #\r | |
32 | \r | |
33 | [Sources.common]\r | |
34 | UgaX11.c\r | |
35 | UnixThunk.c\r | |
36 | FwVol.c\r | |
37 | SecMain.c\r | |
38 | Stack.S\r | |
39 | \r | |
40 | [Packages]\r | |
41 | MdePkg/MdePkg.dec\r | |
42 | MdeModulePkg/MdeModulePkg.dec\r | |
43 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r | |
44 | UnixPkg/UnixPkg.dec\r | |
45 | \r | |
46 | [LibraryClasses]\r | |
47 | DebugLib\r | |
48 | PcdLib\r | |
49 | PrintLib\r | |
50 | BaseMemoryLib\r | |
51 | BaseLib\r | |
52 | PeCoffLib\r | |
53 | ReportStatusCodeLib\r | |
54 | \r | |
55 | \r | |
804405e7 | 56 | [Ppis]\r |
57 | gUnixPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED\r | |
58 | gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED\r | |
59 | gUnixFwhPpiGuid # PPI ALWAYS_PRODUCED\r | |
60 | gPeiUnixAutoScanPpiGuid # PPI ALWAYS_PRODUCED\r | |
61 | gPeiUnixThunkPpiGuid # PPI ALWAYS_PRODUCED\r | |
62 | gEfiTemporaryRamSupportPpiGuid\r | |
63 | \r | |
64 | \r | |
65 | [Pcd.common]\r | |
66 | gEfiUnixPkgTokenSpaceGuid.PcdUnixBootMode\r | |
67 | gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume\r | |
68 | gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySizeForSecMain\r | |
69 | gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize\r | |
70 | \r | |
71 | [BuildOptions.common]\r | |
95e9472f | 72 | GCC:*_*_IA32_DLINK_FLAGS == -o $(BIN_DIR)/SecMain -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o -L/usr/X11R6/lib -lXext -lX11 /usr/lib/crtn.o\r |
3c5a8c11 | 73 | GCC:*_*_*_DLINK2_FLAGS == -lc\r |
74 | GCC:*_*_IA32_CC_FLAGS == -m32 -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings\r | |
75 | GCC:*_*_IA32_PP_FLAGS == -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r | |
76 | GCC:*_*_IA32_ASM_FLAGS == -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r |