diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-19 18:52:30 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-19 18:52:30 +0000 |
commit | 52e3b5be7639c9777892d35e0c3575d519d0670c (patch) | |
tree | a9954dd7822374e0c49cc8d6cabc2df3c43f8ddb /Tools/Conf | |
parent | 10d6603f3b5bac1467d428523678bb1e862686d9 (diff) | |
download | edk2-platforms-52e3b5be7639c9777892d35e0c3575d519d0670c.tar.xz |
Add an elf tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2119 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf')
-rw-r--r-- | Tools/Conf/tools_def.template | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template index 707476f37a..cb252e20e1 100644 --- a/Tools/Conf/tools_def.template +++ b/Tools/Conf/tools_def.template @@ -386,6 +386,32 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF *_CYGWINGCC_X64_*_PATH = c:/Cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
*_CYGWINGCC_*_*_DPATH = c:/Cygwin/bin
+####################################################################################
+#
+# Elf GCC - This configuration is used to compile on Linux boxes to produce elf
+# binaries.
+#
+####################################################################################
+
+
+*_ELFGCC_*_*_FAMILY = GCC
+
+*_ELFGCC_IA32_CC_NAME = gcc
+*_ELFGCC_IA32_SLINK_NAME = ar
+*_ELFGCC_IA32_DLINK_NAME = ld
+*_ELFGCC_IA32_ASM_NAME = gcc
+*_ELFGCC_IA32_PP_NAME = gcc
+*_ELFGCC_IA32_VFRPP_NAME = gcc
+
+*_ELFGCC_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
+*_ELFGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}
+*_ELFGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=name
+*_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
+*_ELFGCC_*_ASM_EXT = .S
+
+*_ELFGCC_IA32_*_PATH = /usr/bin
+
####################################################################################
#
|