]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env
Add some EDK build configuration files and EDK DSC file as the templates to build...
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / X64 / Build / PlatformTools.env
1 #/*++
2 #
3 # Copyright (c) 2006, 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 # This file is used to define platform specific environment variables.
18 # It gets included by every makefile.
19 #
20 #--*/
21
22 !INCLUDE Config.env
23
24 #
25 # Set the project name
26 #
27 PROJECT_NAME = X64
28
29 #
30 # Set the build directory
31 #
32 BUILD_DIR = $(EDK_SOURCE)\Sample\Platform\$(PROJECT_NAME)\$(BUILD_TARGET_DIRECTORY)
33
34 #
35 # Define compiler names
36 #
37 !IFNDEF EDK_TOOLS_PATH
38 EFI_ASL_LOCAL = YES
39 !ELSE
40 EFI_ASSEMBLER_NAME = Masm611
41 EFI_COMPILER_X64_NAME = AMD64
42 EFI_ASL_LOCAL = NO
43 !ENDIF
44
45 #
46 # These flags are specific to this platform. If a flag is not specific to this
47 # platform the flag should be placed in the CommonTools.env file.
48 # Processor architecture specific and global macros can be found in
49 # CommonTools.env, macros named xxx_ARCH_FLAGS and xxx_STD_FLAGS respectively.
50 #
51 C_PROJ_FLAGS = /O1
52 ASM_PROJ_FLAGS =
53 LINK_PROJ_FLAGS = /ALIGN:32
54 LIB_PROJ_FLAGS =
55 EBC_C_PROJ_FLAGS =
56 EBC_LINK_PROJ_FLAGS =
57 EBC_LIB_PROJ_FLAGS =
58
59 #
60 # Include processor architecture specific and general Tiano build flags.
61 #
62 !INCLUDE $(EDK_SOURCE)\Sample\CommonTools.env
63
64
65