]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/Sec/SecMain.inf
merge the generation of SecMain into the whole build process.
[mirror_edk2.git] / UnixPkg / Sec / SecMain.inf
CommitLineData
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
56[Guids]\r
57 gEfiPeiPeCoffLoaderGuid # ALWAYS_PRODUCED\r
58\r
59\r
60[Ppis]\r
61 gUnixPeiLoadFilePpiGuid # PPI ALWAYS_PRODUCED\r
62 gEfiPeiStatusCodePpiGuid # PPI ALWAYS_PRODUCED\r
63 gUnixFwhPpiGuid # PPI ALWAYS_PRODUCED\r
64 gPeiUnixAutoScanPpiGuid # PPI ALWAYS_PRODUCED\r
65 gPeiUnixThunkPpiGuid # PPI ALWAYS_PRODUCED\r
66 gEfiTemporaryRamSupportPpiGuid\r
67\r
68\r
69[Pcd.common]\r
70 gEfiUnixPkgTokenSpaceGuid.PcdUnixBootMode\r
71 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareVolume\r
72 gEfiUnixPkgTokenSpaceGuid.PcdUnixMemorySizeForSecMain\r
73 gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize\r
74\r
75[BuildOptions.common]\r
73aa7f04 76 GCC:*_*_IA32_DLINK_FLAGS = -o $(BIN_DIR)/SecMain.exe -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
77 GCC:*_*_*_DLINK2_FLAGS = -lc\r
78 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
79 GCC:*_*_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h\r
80 GCC:*_*_IA32_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h\r