mirror of https://github.com/acidanthera/audk.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
This commit is contained in:
parent
fa3c419fec
commit
ffe084ee76
|
@ -144,7 +144,7 @@
|
|||
<Command.MSFT, Command.INTEL>
|
||||
"$(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
|
||||
|
||||
<Command.GCC>
|
||||
"$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
|
||||
|
@ -245,21 +245,21 @@
|
|||
?.asl, ?.Asl, ?.ASL
|
||||
|
||||
<OutputFile>
|
||||
$(OUTPUT_DIR)(+)${s_base}.aml
|
||||
$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.aml
|
||||
|
||||
<ExtraDependency>
|
||||
$(MAKE_FILE)
|
||||
|
||||
<Command.MSFT, Command.INTEL>
|
||||
"$(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]
|
||||
<InputFile>
|
||||
?.c
|
||||
|
||||
<OutputFile>
|
||||
$(OUTPUT_DIR)(+)${s_base}.acpi
|
||||
$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi
|
||||
|
||||
<ExtraDependency>
|
||||
$(MAKE_FILE)
|
||||
|
@ -274,7 +274,7 @@
|
|||
?.aslc, ?.act
|
||||
|
||||
<OutputFile>
|
||||
$(OUTPUT_DIR)(+)${s_base}.acpi
|
||||
$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi
|
||||
|
||||
<ExtraDependency>
|
||||
$(MAKE_FILE)
|
||||
|
|
Loading…
Reference in New Issue