mirror of https://github.com/acidanthera/audk.git
BaseTools build_rule: Add .nasm => .obj build rule
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16017 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9a5a743582
commit
ff0279814a
|
@ -170,6 +170,21 @@
|
|||
# For RVCTCYGWIN ASM_FLAGS must be first to work around pathing issues
|
||||
"$(ASM)" $(ASM_FLAGS) -o ${dst} $(INC) ${d_path}(+)${s_base}.iii
|
||||
|
||||
[Nasm-Assembly-Code-File.COMMON.COMMON]
|
||||
<InputFile>
|
||||
?.nasm, ?.Nasm, ?.NASM
|
||||
|
||||
<ExtraDependency>
|
||||
$(MAKE_FILE)
|
||||
|
||||
<OutputFile>
|
||||
$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
|
||||
|
||||
<Command>
|
||||
"$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
|
||||
Trim --trim-long --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
|
||||
"$(NASM)" -I${s_path}(+) $(NASM_FLAGS) -o $dst ${d_path}(+)${s_base}.iii
|
||||
|
||||
[Assembly-Code-File.COMMON.IPF]
|
||||
<InputFile>
|
||||
?.s
|
||||
|
|
|
@ -671,8 +671,6 @@ DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G
|
|||
# Other Supported Tools
|
||||
# =====================
|
||||
# NASM 2.0.3 http://www.nasm.us/
|
||||
# Note: Converts NASM source to .bin. Object linking to
|
||||
# EDK II driver modules is not currently supported.
|
||||
#
|
||||
####################################################################################
|
||||
####################################################################################
|
||||
|
|
Loading…
Reference in New Issue