diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-23 05:54:23 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-23 05:54:23 +0000 |
commit | 3841e920532b339ac75c8bc5a9217090eef11705 (patch) | |
tree | eefbe1512daa4e8474cbed761ab9f6ff09112130 /Tools/Conf | |
parent | 8d58174fc6c208e84111d04ae1e65c6e05283c78 (diff) | |
download | edk2-3841e920532b339ac75c8bc5a9217090eef11705.tar.gz edk2-3841e920532b339ac75c8bc5a9217090eef11705.tar.bz2 edk2-3841e920532b339ac75c8bc5a9217090eef11705.zip |
Add tool chain's configuration for building and running UnixPkg in CYGWIN environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2503 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf')
-rw-r--r-- | Tools/Conf/tools_def.template | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template index 1a0b577fe7..3ac35bd57a 100644 --- a/Tools/Conf/tools_def.template +++ b/Tools/Conf/tools_def.template @@ -1,5 +1,5 @@ #
-# Copyright (c) 2006, Intel Corporation
+# Copyright (c) 2006 - 2007 Intel Corporation. <BR>
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -413,6 +413,30 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF *_ELFGCC_IA32_*_PATH = /usr/bin
+####################################################################################
+#
+# UnixPkg CYGWIN GCC - This configuration is used to compile on CYGWIN environment for UnixPkg.
+#
+####################################################################################
+
+
+*_UNIXPKGCYGWINGCC_*_*_FAMILY = GCC
+
+*_UNIXPKGCYGWINGCC_IA32_CC_NAME = gcc
+*_UNIXPKGCYGWINGCC_IA32_SLINK_NAME = ar
+*_UNIXPKGCYGWINGCC_IA32_DLINK_NAME = ld
+*_UNIXPKGCYGWINGCC_IA32_ASM_NAME = gcc
+*_UNIXPKGCYGWINGCC_IA32_PP_NAME = gcc
+*_UNIXPKGCYGWINGCC_IA32_VFRPP_NAME = gcc
+
+*_UNIXPKGCYGWINGCC_IA32_CC_FLAGS = -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings -IC:/cygwin/usr/X11R6/include
+*_UNIXPKGCYGWINGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}
+*_UNIXPKGCYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
+*_UNIXPKGCYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXPKGCYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
+*_UNIXPKGCYGWINGCC_*_ASM_EXT = .S
+
+*_UNIXPKGCYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
####################################################################################
#
|