diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-26 08:18:08 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-26 08:18:08 +0000 |
commit | 84255c8f8d7729b14e3ea1b17faeff3995459986 (patch) | |
tree | ec3055ba93a614063ab8fd6e7de8cc8f3063b4de /EdkCompatibilityPkg/Sample/Platform/Ipf/Build/PlatformTools.env | |
parent | dd1119dd87485ca7c62d59e8e256526103423cbc (diff) | |
download | edk2-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/Ipf/Build/PlatformTools.env')
-rw-r--r-- | EdkCompatibilityPkg/Sample/Platform/Ipf/Build/PlatformTools.env | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Sample/Platform/Ipf/Build/PlatformTools.env b/EdkCompatibilityPkg/Sample/Platform/Ipf/Build/PlatformTools.env new file mode 100644 index 0000000..b12060e --- /dev/null +++ b/EdkCompatibilityPkg/Sample/Platform/Ipf/Build/PlatformTools.env @@ -0,0 +1,69 @@ +#/*++
+#
+# Copyright (c) 2004 - 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 = IPF
+
+#
+# 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
+!IF "$(USE_NEWDDK)" == "YES"
+EFI_COMPILER_NAME = DDK3790.1830
+EFI_ASSEMBLER_NAME = DDK3790.1830
+!ELSE
+EFI_COMPILER_NAME = DDK3790
+EFI_ASSEMBLER_NAME = DDK3790
+!ENDIF
+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 = /Os
+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 EFI build flags.
+#
+!INCLUDE $(EDK_SOURCE)\Sample\CommonTools.env
\ No newline at end of file |