From: lgao4 Date: Wed, 10 Sep 2008 06:51:00 +0000 (+0000) Subject: 1. Add ASM source files directory into its Include path. X-Git-Tag: edk2-stable201903~20353 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ffe084ee76fc408ac3d77e5ce36ba12520d4900a;p=mirror_edk2.git 1. Add ASM source files directory into its Include path. 2. Change the output directory for ASL files to the subdirectory in order to avoid the same file names. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5867 6f19259b-4bc3-4df7-8a09-765794883524 --- 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)