Ignore:
Timestamp:
Sep 8, 2016, 5:02:58 AM (9 years ago)
Author:
bird
Message:

New yasm options (patches pending).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/YASM.kmk

    r2873 r2891  
    7979TOOL_YASM_COMPILE_AS_DEPORD =
    8080define TOOL_YASM_COMPILE_AS_CMDS
     81ifdef TOOL_YASM_KSUBMIT # yasm 1.3.0 w/ patches.
    8182        $(QUIET)$(TOOL_YASM_KSUBMIT) $(TOOL_YASM_AS)\
     83                $(patsubst --mapfile%,--mapfile=$(obj).map,$(flags))\
     84                $(addsuffix /,$(addprefix -I, $(incs))) $(addprefix -D, $(defs))\
     85                -l $(outbase).lst\
     86                -o $(obj)\
     87                -MD="$(dep)" -MP --makedep-dos2unix-slash\
     88                $(abspath $(source))
     89else
     90        $(QUIET)$(TOOL_YASM_AS)\
    8291                $(patsubst --mapfile%,--mapfile=$(obj).map,$(flags))\
    8392                $(addsuffix /,$(addprefix -I, $(incs))) $(addprefix -D, $(defs))\
     
    106115                "$(dep)"
    107116        $(QUIET)$(MV) -f -- "$(dep).tmp" "$(dep)"
     117endif
    108118endef
    109119
Note: See TracChangeset for help on using the changeset viewer.