From f5e6003bdf819c5959b05c5c221b7fa992b63a4a Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 25 Dec 2008 01:09:52 +0000 Subject: [PATCH] Remove unused PCH compiler option and unused build rule for uni file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7117 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Conf/build_rule.template | 10 ---------- BaseTools/Conf/tools_def.template | 21 --------------------- 2 files changed, 31 deletions(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 40f9c142b8..256984fd2a 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -321,16 +321,6 @@ GenFw -o ${dst} -j ${src} -$(CP) ${dst} $(BIN_DIR) -[Unicode-Text-File] - - *.uni, *.Uni, *.UNI - - - $(DEBUG_DIR)(+)AutoGen.c - $(DEBUG_DIR)(+)AutoGen.h - - - [EFI-Image-File] ?.efi, ?.Efi, ?.EFI diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index cc1dd0bb69..d689b1bcb6 100644 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -144,7 +144,6 @@ DEFINE ASL_BIN = C:\ASL *_VS2003_IA32_APP_PATH = DEF(VSNET2003_BIN)\cl.exe *_VS2003_IA32_PP_PATH = DEF(VSNET2003_BIN)\cl.exe *_VS2003_IA32_ASM_PATH = DEF(VSNET2003_BIN)\ml.exe -*_VS2003_IA32_PCH_PATH = DEF(VSNET2003_BIN)\cl.exe *_VS2003_IA32_ASLCC_PATH = DEF(VSNET2003_BIN)\cl.exe *_VS2003_IA32_ASLPP_PATH = DEF(VSNET2003_BIN)\cl.exe *_VS2003_IA32_ASLDLINK_PATH = DEF(VSNET2003_BIN)\link.exe @@ -156,8 +155,6 @@ DEFINE ASL_BIN = C:\ASL *_VS2003_IA32_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h DEBUG_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm RELEASE_VS2003_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- - DEBUG_VS2003_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm -RELEASE_VS2003_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gs8192 /Gy /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG @@ -354,7 +351,6 @@ RELEASE_VS2005TEAMSUITE_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT *_WINDDK3790x1830_IA32_PP_PATH = DEF(WINDDK_BIN32)\cl.exe *_WINDDK3790x1830_IA32_VFRPP_PATH = DEF(WINDDK_BIN32)\cl.exe *_WINDDK3790x1830_IA32_APP_PATH = DEF(WINDDK_BIN32)\cl.exe -*_WINDDK3790x1830_IA32_PCH_PATH = DEF(WINDDK_BIN32)\cl.exe *_WINDDK3790x1830_IA32_ASM_PATH = DEF(WINDDK_BIN32)\ml.exe *_WINDDK3790x1830_IA32_ASLCC_PATH = DEF(WINDDK_BIN32)\cl.exe *_WINDDK3790x1830_IA32_ASLPP_PATH = DEF(WINDDK_BIN32)\cl.exe @@ -362,8 +358,6 @@ RELEASE_VS2005TEAMSUITE_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF - DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm -RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd /Zi RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /c /WX /W3 /coff /Cx /Zd DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG @@ -379,7 +373,6 @@ RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O *_WINDDK3790x1830_X64_PP_PATH = DEF(WINDDK_BINX64)\cl.exe *_WINDDK3790x1830_X64_VFRPP_PATH = DEF(WINDDK_BINX64)\cl.exe *_WINDDK3790x1830_X64_APP_PATH = DEF(WINDDK_BINX64)\cl.exe -*_WINDDK3790x1830_X64_PCH_PATH = DEF(WINDDK_BINX64)\cl.exe *_WINDDK3790x1830_X64_ASM_PATH = DEF(WINDDK_BINX64)\ml64.exe *_WINDDK3790x1830_X64_ASLCC_PATH = DEF(WINDDK_BINX64)\cl.exe *_WINDDK3790x1830_X64_ASLPP_PATH = DEF(WINDDK_BINX64)\cl.exe @@ -387,8 +380,6 @@ RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF - DEBUG_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi /Gm -RELEASE_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG @@ -403,7 +394,6 @@ RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O *_WINDDK3790x1830_IPF_PP_PATH = DEF(WINDDK_BIN64)\cl.exe *_WINDDK3790x1830_IPF_VFRPP_PATH = DEF(WINDDK_BIN64)\cl.exe *_WINDDK3790x1830_IPF_APP_PATH = DEF(WINDDK_BIN64)\cl.exe -*_WINDDK3790x1830_IPF_PCH_PATH = DEF(WINDDK_BIN64)\cl.exe *_WINDDK3790x1830_IPF_ASM_PATH = DEF(WINDDK_BIN64)\ias.exe *_WINDDK3790x1830_IPF_ASLCC_PATH = DEF(WINDDK_BIN64)\cl.exe *_WINDDK3790x1830_IPF_ASLPP_PATH = DEF(WINDDK_BIN64)\cl.exe @@ -412,8 +402,6 @@ RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O DEBUG_WINDDK3790x1830_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 /Zi RELEASE_WINDDK3790x1830_IPF_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /QIPF_fr32 - DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC /Zi -RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /GL /FIAutoGen.h /Fp$(DEST_DIR_OUTPUT)/AutoGen.h.gch /Yc /TC DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG @@ -605,7 +593,6 @@ RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT ################## # IA32 definitions ################## -*_ICC_IA32_PCH_PATH = DEF(ICC_BIN32)\icl.exe *_ICC_IA32_CC_PATH = DEF(ICC_BIN32)\icl.exe *_ICC_IA32_SLINK_PATH = DEF(ICC_BIN32)\xilib.exe # xilib.exe needs lib.exe from Visual Studio @@ -623,8 +610,6 @@ RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT DEBUG_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF /Zi /Gm RELEASE_ICC_IA32_CC_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FIAutoGen.h /EHs-c- /GF - DEBUG_ICC_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC /Zi /Gm -RELEASE_ICC_IA32_PCH_FLAGS = /nologo /c /WX /W4 /Gy /Gs8192 /D UNICODE /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Yc /TC DEBUG_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd /Zi RELEASE_ICC_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Zd *_ICC_IA32_SLINK_FLAGS = /nologo @@ -635,7 +620,6 @@ RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O ################## # X64 definitions ################## -*_ICC_X64_PCH_PATH = DEF(ICC_BINX64)\icl.exe *_ICC_X64_CC_PATH = DEF(ICC_BINX64)\icl.exe *_ICC_X64_SLINK_PATH = DEF(ICC_BINX64)\xilib.exe # xilib.exe needs lib.exe from Visual Studio @@ -652,8 +636,6 @@ RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O DEBUG_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /Zi /Gm /EHs-c- /GF RELEASE_ICC_X64_CC_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF - DEBUG_ICC_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /Zi /Gm /EHs-c- /GF -RELEASE_ICC_X64_PCH_FLAGS = /nologo /c /WX /GS- /X /W4 /Gs8192 /D UNICODE /O1ib2s /GL /Gy /FI$(DEST_DIR_DEBUG)/AutoGen.h /TC /EHs-c- /GF DEBUG_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi RELEASE_ICC_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd DEBUG_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG @@ -673,7 +655,6 @@ RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O *_ICC_IPF_DLINK_PATH = DEF(ICC_BIN64)\xilink.exe *_ICC_IPF_PP_PATH = DEF(ICC_BIN64)\icl.exe *_ICC_IPF_VFRPP_PATH = DEF(ICC_BIN64)\icl.exe -*_ICC_IPF_PCH_PATH = DEF(ICC_BIN64)\icl.exe *_ICC_IPF_APP_PATH = DEF(ICC_BIN64)\icl.exe *_ICC_IPF_ASM_PATH = DEF(ICC_BIN64)\ias.exe *_ICC_IPF_ASLCC_PATH = DEF(ICC_BIN64)\icl.exe @@ -682,8 +663,6 @@ RELEASE_ICC_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /O DEBUG_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 /Zi RELEASE_ICC_IPF_CC_FLAGS = /nologo /c /WX /W4 /GX /Gy /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /QIA64_fr32 - DEBUG_ICC_IPF_PCH_FLAGS = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC /Zi -RELEASE_ICC_IPF_PCH_FLAGS = /nologo /c /WX /W4 /GX /Gy /Os /FI$(DEST_DIR_DEBUG)/AutoGen.h /Yc /TC DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32 RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:$(DEST_DIR_DEBUG)/$(BASE_NAME).map /PDB:$(DEST_DIR_DEBUG)/$(BASE_NAME).pdb /DEBUG