BaseTools Conf: Update tools_def and build_rule to remove IPF setting
[mirror_edk2.git] / BaseTools / Conf / build_rule.template
index 671d378..b2667c2 100755 (executable)
     <Command.XCODE>\r
         "$(CC)" $(CC_FLAGS) -o ${dst} $(INC) ${src}\r
 \r
-[C-Code-File.COMMON.IPF]\r
-    <InputFile>\r
-        ?.c\r
-        ?.C\r
-        ?.cc\r
-        ?.CC\r
-        ?.cpp\r
-        ?.Cpp\r
-        ?.CPP\r
-\r
-    <ExtraDependency>\r
-        $(MAKE_FILE)\r
-\r
-    <OutputFile>\r
-        $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
-\r
-    <Command.MSFT, Command.INTEL>\r
-        "$(CC)" /Fo${dst} $(CC_FLAGS) $(INC) ${src}\r
-\r
-    <Command.GCC, Command.GCCLD, Command.RVCT>\r
-        # For RVCTCYGWIN CC_FLAGS must be first to work around pathing issues\r
-        "$(CC)" $(CC_FLAGS) -c -o ${dst} $(INC) ${src}\r
-        "$(SYMRENAME)" $(SYMRENAME_FLAGS) ${dst}\r
-\r
 [C-Code-File.BASE.AARCH64,C-Code-File.SEC.AARCH64,C-Code-File.PEI_CORE.AARCH64,C-Code-File.PEIM.AARCH64,C-Code-File.BASE.ARM,C-Code-File.SEC.ARM,C-Code-File.PEI_CORE.ARM,C-Code-File.PEIM.ARM]\r
     <InputFile>\r
         ?.c\r
         Trim --trim-long --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i\r
         "$(NASM)" -I${s_path}(+) $(NASM_FLAGS) -o $dst ${d_path}(+)${s_base}.iii\r
 \r
-[Assembly-Code-File.COMMON.IPF]\r
-    <InputFile>\r
-        ?.s\r
-\r
-    <ExtraDependency>\r
-        $(MAKE_FILE)\r
-\r
-    <OutputFile>\r
-        $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj\r
-\r
-    <Command.MSFT, Command.INTEL>\r
-        "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i\r
-        Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i\r
-        # For RVCTCYGWIN ASM_FLAGS must be first to work around pathing issues\r
-        "$(ASM)" $(ASM_FLAGS) -o ${dst} ${d_path}(+)${s_base}.iii\r
-\r
 [Device-Tree-Source-File]\r
     <InputFile>\r
         ?.dts\r