summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-26 08:18:08 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-26 08:18:08 +0000
commit84255c8f8d7729b14e3ea1b17faeff3995459986 (patch)
treeec3055ba93a614063ab8fd6e7de8cc8f3063b4de /EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env
parentdd1119dd87485ca7c62d59e8e256526103423cbc (diff)
downloadedk2-84255c8f8d7729b14e3ea1b17faeff3995459986.zip
edk2-84255c8f8d7729b14e3ea1b17faeff3995459986.tar.gz
edk2-84255c8f8d7729b14e3ea1b17faeff3995459986.tar.bz2
Add some EDK build configuration files and EDK DSC file as the templates to build EDK modules.
This is a temporary solution to build EDK modules (e.g. Shell applications) under EDK II environment with EDK tools in ECP. After the EDKII tools are ready to parse EDK II DSC file to build EDK INF file, these temporary build files can be safely removed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4221 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env')
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env65
1 files changed, 65 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env b/EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env
new file mode 100644
index 0000000..79882f3
--- /dev/null
+++ b/EdkCompatibilityPkg/Sample/Platform/X64/Build/PlatformTools.env
@@ -0,0 +1,65 @@
+#/*++
+#
+# Copyright (c) 2006, Intel Corporation
+# All rights reserved. This program and the accompanying materials
+# are licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+# Module Name:
+#
+# PlatformTools.env
+#
+# Abstract:
+# This file is used to define platform specific environment variables.
+# It gets included by every makefile.
+#
+#--*/
+
+!INCLUDE Config.env
+
+#
+# Set the project name
+#
+PROJECT_NAME = X64
+
+#
+# Set the build directory
+#
+BUILD_DIR = $(EDK_SOURCE)\Sample\Platform\$(PROJECT_NAME)\$(BUILD_TARGET_DIRECTORY)
+
+#
+# Define compiler names
+#
+!IFNDEF EDK_TOOLS_PATH
+EFI_ASL_LOCAL = YES
+!ELSE
+EFI_ASSEMBLER_NAME = Masm611
+EFI_COMPILER_X64_NAME = AMD64
+EFI_ASL_LOCAL = NO
+!ENDIF
+
+#
+# These flags are specific to this platform. If a flag is not specific to this
+# platform the flag should be placed in the CommonTools.env file.
+# Processor architecture specific and global macros can be found in
+# CommonTools.env, macros named xxx_ARCH_FLAGS and xxx_STD_FLAGS respectively.
+#
+C_PROJ_FLAGS = /O1
+ASM_PROJ_FLAGS =
+LINK_PROJ_FLAGS = /ALIGN:32
+LIB_PROJ_FLAGS =
+EBC_C_PROJ_FLAGS =
+EBC_LINK_PROJ_FLAGS =
+EBC_LIB_PROJ_FLAGS =
+
+#
+# Include processor architecture specific and general Tiano build flags.
+#
+!INCLUDE $(EDK_SOURCE)\Sample\CommonTools.env
+
+
+