Add an elf tool chain.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Dec 2006 18:52:30 +0000 (18:52 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Dec 2006 18:52:30 +0000 (18:52 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2119 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Conf/tools_def.template

index 707476f37adb4f9d7cc7e1ef29b906299795d016..cb252e20e1ed0b00c8c5de642749058e7b90b965 100644 (file)
@@ -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\r
 *_CYGWINGCC_*_*_DPATH         = c:/Cygwin/bin\r
 \r
 *_CYGWINGCC_X64_*_PATH        = c:/Cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
 *_CYGWINGCC_*_*_DPATH         = c:/Cygwin/bin\r
 \r
+####################################################################################\r
+#\r
+# Elf GCC - This configuration is used to compile on Linux boxes to produce elf\r
+#           binaries.\r
+#\r
+####################################################################################\r
+\r
+\r
+*_ELFGCC_*_*_FAMILY        = GCC\r
+\r
+*_ELFGCC_IA32_CC_NAME      = gcc\r
+*_ELFGCC_IA32_SLINK_NAME   = ar\r
+*_ELFGCC_IA32_DLINK_NAME   = ld\r
+*_ELFGCC_IA32_ASM_NAME     = gcc\r
+*_ELFGCC_IA32_PP_NAME      = gcc\r
+*_ELFGCC_IA32_VFRPP_NAME   = gcc\r
+\r
+*_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\r
+*_ELFGCC_*_DLINK_FLAGS     = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}\r
+*_ELFGCC_*_ASM_FLAGS       = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=name\r
+*_ELFGCC_*_PP_FLAGS        = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h\r
+*_ELFGCC_*_VFRPP_FLAGS     = -x c -E -P -DVFRCOMPILE\r
+*_ELFGCC_*_ASM_EXT         = .S\r
+\r
+*_ELFGCC_IA32_*_PATH       = /usr/bin\r
+\r
 \r
 ####################################################################################\r
 #\r
 \r
 ####################################################################################\r
 #\r