]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Platform/Ia32/Build/PlatformTools.env
Adjust the build infrastructure to support IA32 architect build. Ia32.dsc is more...
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Ia32 / Build / PlatformTools.env
1 #/*++
2 #
3 # Copyright (c) 2004 - 2007, Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 # Module Name:
13 #
14 # PlatformTools.env
15 #
16 # Abstract:
17 #
18 # This file is used to define platform specific environment variables.
19 # It gets included by every makefile.
20 #
21 #--*/
22
23 !INCLUDE Config.env
24
25 #
26 # Set the project name
27 #
28 PROJECT_NAME = Ia32
29
30 #
31 # Set the build directory
32 #
33 BUILD_DIR = $(EDK_SOURCE)\Sample\Platform\$(PROJECT_NAME)\$(BUILD_TARGET_DIRECTORY)
34
35 !IF "$(UEFI_MODE)" == "YES"
36 GRAPHICS_INF = Sample\Bus\WinNtThunk\Gop\Dxe\WinNtGop.inf
37 !ELSE
38 GRAPHICS_INF = Sample\Bus\WinNtThunk\Uga\Dxe\WinNtUga.inf
39 !ENDIF
40
41 #
42 # Define compiler names
43 #
44 !IFNDEF EDK_TOOLS_PATH
45 EFI_ASL_LOCAL = YES
46 !ELSE
47 EFI_ASSEMBLER_NAME = Masm611
48 EFI_ASL_LOCAL = NO
49 !ENDIF
50
51 #
52 # These flags are specific to this platform. If a flag is not specific to this
53 # platform the flag should be placed in the CommonTools.env file.
54 # Processor architecture specific and global macros can be found in
55 # CommonTools.env, macros named xxx_ARCH_FLAGS and xxx_STD_FLAGS respectively.
56 #
57 C_PROJ_FLAGS = /O1 /D UNICODE /D NEW_PEI_HOBS
58 ASM_PROJ_FLAGS = /Cx /Zd /Fl$*.lst
59 LINK_PROJ_FLAGS =
60 LIB_PROJ_FLAGS =
61 EBC_C_PROJ_FLAGS =
62 EBC_LINK_PROJ_FLAGS =
63 EBC_LIB_PROJ_FLAGS =
64
65 #
66 # Include processor architecture specific and general Tiano build flags.
67 #
68 !INCLUDE $(EDK_SOURCE)\Sample\CommonTools.env