Changeset 2808 in kBuild
- Timestamp:
- Jan 30, 2016 3:13:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/NASM.kmk
r2803 r2808 36 36 # Tool Specific Properties 37 37 ifndef PATH_TOOL_NASM 38 PATH_TOOL_NASM := $( sort $(wildcard $(KBUILD_DEVTOOLS_HST)/nasm/v*.*))39 if neq ($(PATH_TOOL_NASM),)40 PATH_TOOL_NASM := $( call lastword,$(PATH_TOOL_NASM))38 PATH_TOOL_NASM := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/nasm/v*.*))) 39 if "$(PATH_TOOL_NASM)" == "" && "$(KBUILD_DEVTOOLS_HST_ALT)" != "" 40 PATH_TOOL_NASM := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/nasm/v*.*))) 41 41 endif 42 42 else … … 77 77 -o $(obj)\ 78 78 $(abspath $(source)) 79 $(QUIET)$(REDIRECT) - wo $(dep) -- $(TOOL_NASM_AS) -DKBUILD_GENERATING_MAKEFILE_DEPENDENCIES\79 $(QUIET)$(REDIRECT) -C $(PATH_OUT_BASE) -wo $(dep) -- $(TOOL_NASM_AS) -DKBUILD_GENERATING_MAKEFILE_DEPENDENCIES\ 80 80 $(flags) $(addsuffix /,$(addprefix -i, $(incs))) $(addprefix -D, $(defs))\ 81 81 -l $(outbase).lst\ 82 82 -o $(obj)\ 83 83 $(abspath $(source)) \ 84 -M 84 -M -MP 85 85 endef 86 86
Note:
See TracChangeset
for help on using the changeset viewer.