VirtualBox

Ignore:
Timestamp:
Jan 9, 2016 9:10:03 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104959
Message:

bs3kit: locate the patched nasm added to tools (kBuild/tools/NASM.kmk is so ancient it doesn't look in the alternative host arch directory).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/Config.kmk

    r59300 r59301  
    5555
    5656# NASM tool with dependency workarounds (change dir to force consistent results; add -MP).
     57# Requires http://permalink.gmane.org/gmane.comp.lang.nasm.devel/3704 to work.
    5758include $(KBUILD_PATH)/tools/NASM.kmk
    5859TOOL_VBoxNasm = Our version of the NASM tool
    59 TOOL_VBoxNasm_PATH    ?= $(PATH_TOOL_NASM)
    60 ifneq ($(PATH_TOOL_NASM),)
     60ifndef TOOL_VBoxNasm_PATH
     61 TOOL_VBoxNasm_PATH   := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/nasm/v*.*)))
     62 if "$(TOOL_VBoxNasm_PATH)" == "" && "$(KBUILD_DEVTOOLS_HST_ALT)" != ""
     63  TOOL_VBoxNasm_PATH  := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/nasm/v*.*)))
     64 endif
     65endif
     66ifneq ($(TOOL_VBoxNasm_PATH),)
    6167 TOOL_VBoxNasm_AS     ?= $(TOOL_VBoxNasm_PATH)/nasm$(HOSTSUFF_EXE)
    6268else
Note: See TracChangeset for help on using the changeset viewer.

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