Added GCC assembly code preprocessing support

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4114 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-10-15 06:17:00 +00:00
parent f9168a6f8f
commit c8c6d794df
2 changed files with 4 additions and 2 deletions

View File

@ -135,7 +135,9 @@
"$(ASM)" /Fo${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii "$(ASM)" /Fo${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii
<Command.GCC> <Command.GCC>
"$(ASM)" -o ${dst} $(ASM_FLAGS) $(INC) ${src} "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
"$(ASM)" -o ${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii
[Build.Iasm-Code-File] [Build.Iasm-Code-File]
<InputFile> <InputFile>

View File

@ -357,7 +357,7 @@ RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT
*_CYGWINGCC_*_MAKE_FLAGS = /nologo *_CYGWINGCC_*_MAKE_FLAGS = /nologo
*_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20 *_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _$(ENTRYPOINT) --file-alignment 0x20 --section-alignment 0x20
*_CYGWINGCC_*_ASM_FLAGS = -c -imacros AutoGen.h *_CYGWINGCC_*_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
*_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h *_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
*_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h *_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include AutoGen.h