Changeset 667 for trunk/kBuild/tools/NASM.kmk
- Timestamp:
- Dec 6, 2006, 5:00:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/NASM.kmk
r665 r667 2 2 ## @file 3 3 # 4 # kBuild Tool Config - N ASM 0.98 or later.4 # kBuild Tool Config - Netwide Assembler v0.98+. 5 5 # 6 # Copyright (c) 2004-200 5knut st. osmundsen <bird-srcspam@anduin.net>6 # Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net> 7 7 # 8 8 # … … 25 25 # 26 26 27 TOOL_NASM := Netwide Assembler v0.98+ 27 28 28 TOOL_NASM := Netwide Assembler 0.98+ 29 # Tool Specific Properties 29 30 ifndef PATH_TOOL_NASM 30 PATH_DEV_BLD ?= $(PATH_DEV)/$(BUILD_PLATFORM_ARCH).$(BUILD_PLATFORM) 31 PATH_TOOL_NASM := $(sort $(wildcard $(PATH_DEV)/$(BUILD_PLATFORM_ARCH).$(BUILD_PLATFORM)/nasm/v*.*)) 31 PATH_TOOL_NASM := $(sort $(wildcard $(PATH_DEVTOOLS_BLD)/nasm/v*.*)) 32 32 ifneq ($(PATH_TOOL_NASM),) 33 PATH_TOOL_NASM 33 PATH_TOOL_NASM := $(call lastword,$(PATH_TOOL_NASM)) 34 34 endif 35 else 36 # Resolve any fancy stuff once and for all. 37 PATH_TOOL_NASM := $(PATH_TOOL_NASM) 35 38 endif 36 39 37 40 ifneq ($(PATH_TOOL_NASM),) 38 TOOL_NASM_AS 41 TOOL_NASM_AS ?= $(PATH_TOOL_NASM)/nasm$(HOSTSUFF_EXE) 39 42 else 40 TOOL_NASM_AS 43 TOOL_NASM_AS ?= nasm$(HOSTSUFF_EXE) 41 44 endif 42 TOOL_NASM_ASFLAGS ?= 45 46 # General Properties used by kBuild 47 TOOL_NASM_ASFLAGS ?= 43 48 44 49
Note:
See TracChangeset
for help on using the changeset viewer.