diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index c138bd9938..d345f2e0c3 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -144,7 +144,7 @@ "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i - "$(ASM)" /Fo${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii + "$(ASM)" /Fo${dst} $(ASM_FLAGS) /I${s_path} $(INC) ${d_path}(+)${s_base}.iii "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i @@ -245,21 +245,21 @@ ?.asl, ?.Asl, ?.ASL - $(OUTPUT_DIR)(+)${s_base}.aml + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.aml $(MAKE_FILE) - "$(ASLPP)" $(ASLPP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_dir}(+)${s_base}.i - "$(ASL)" -p ${dst} $(ASL_FLAGS) ${d_path}(+)${s_dir}(+)${s_base}.i + "$(ASLPP)" $(ASLPP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i + "$(ASL)" -p ${dst} $(ASL_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i [C-Code-File.AcpiTable] ?.c - $(OUTPUT_DIR)(+)${s_base}.acpi + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi $(MAKE_FILE) @@ -274,7 +274,7 @@ ?.aslc, ?.act - $(OUTPUT_DIR)(+)${s_base}.acpi + $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi $(MAKE_FILE)