VirtualBox

Changeset 1277 in kBuild


Ignore:
Timestamp:
Nov 29, 2007 9:05:47 PM (17 years ago)
Author:
bird
Message:

Added KMK_USE_REDIRECT option to NASM and YASM.

Location:
trunk/kBuild/tools
Files:
2 edited

Legend:

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

    r782 r1277  
    7070                -o $(obj)\
    7171                $(abspath $(source))
     72ifdef KMK_USE_REDIRECT
     73        $(QUIET)$(REDIRECT) -wo $(dep) -- $(TOOL_NASM_AS)\
     74                $(flags) $(addsuffix /,$(addprefix -i, $(incs))) $(addprefix -D, $(defs))\
     75                -l $(outbase).lst\
     76                -o $(obj)\
     77                $(abspath $(source)) \
     78                -M >> $(dep)
     79else
    7280        $(QUIET)$(TOOL_NASM_AS)\
    7381                $(flags) $(addsuffix /,$(addprefix -i, $(incs))) $(addprefix -D, $(defs))\
     
    7583                -o $(obj)\
    7684                $(abspath $(source)) \
    77                 -M >> $(dep)
     85                -M > $(dep)
     86endif
    7887endef
    7988
  • trunk/kBuild/tools/YASM.kmk

    r782 r1277  
    6969                -o $(obj)\
    7070                $(abspath $(source))
     71ifdef KMK_USE_REDIRECT
     72        $(QUIET)$(REDIRECT) -wo $(dep) -- $(TOOL_YASM_AS)\
     73                $(flags) $(addsuffix /,$(addprefix -I, $(incs))) $(addprefix -D, $(defs))\
     74                -o $(obj) \
     75                $(abspath $(source)) \
     76                -M
     77else
    7178        $(QUIET)$(TOOL_YASM_AS)\
    7279                $(flags) $(addsuffix /,$(addprefix -I, $(incs))) $(addprefix -D, $(defs))\
     
    7481                $(abspath $(source)) \
    7582                -M > $(dep)
     83endif
    7684endef
    7785
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette