VirtualBox

Changeset 84957 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 25, 2020 4:30:42 PM (4 years ago)
Author:
vboxsync
Message:

Devices: Use TOOL_YASM_AS at various places; helps cross-building (WSL).

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/Config.kmk

    r84676 r84957  
    4444
    4545# VBox Yasm command
     46## @todo r=andy Is this still needed? Or can we just use TOOL_YASM_AS?
    4647VBOX_YASMCMD   ?= $(firstword $(wildcard $(KBUILD_DEVTOOLS_HST)/bin/yasm$(HOSTSUFF_EXE)) yasm$(HOSTSUFF_EXE))
    4748
  • trunk/src/VBox/Devices/Graphics/BIOS/Makefile.kmk

    r82968 r84957  
    7171               --bios-type vga \
    7272                --output $$(VBoxVgaBios$(1)_0_OUTDIR)/VBoxVgaBiosAlternative$(1).asm
    73         $$(QUIET)yasm -f bin \
     73        $$(QUIET)$$(TOOL_YASM_AS) -f bin \
    7474                -o $$(VBoxVgaBios$(1)_0_OUTDIR)/VBoxVgaBiosAlternative$(1).bin \
    7575                -l $$(VBoxVgaBios$(1)_0_OUTDIR)/VBoxVgaBiosAlternative$(1).lst \
     
    127127                $$(VBOX_BIN2C) | $$$$(dir $$$$@)
    128128        $$(call MSG_TOOL,bin2c,VgaBiosBin,$$<,$$@)
    129         $$(QUIET)yasm -f bin -o $$(VgaBiosBin_0_OUTDIR)/VBoxVgaBios$(1).rom $$<
     129        $$(QUIET)$$(TOOL_YASM_AS) -f bin -o $$(VgaBiosBin_0_OUTDIR)/VBoxVgaBios$(1).rom $$<
    130130        $$(QUIET)$$(REDIRECT) -C $$(VgaBiosBin_0_OUTDIR) -- \
    131131                $$(MD5SUM_EXT) -c $$(basename $$<).md5sum
     
    190190
    191191include $(FILE_KBUILD_SUB_FOOTER)
    192 
  • trunk/src/VBox/Devices/PC/BIOS/Makefile.kmk

    r82968 r84957  
    125125        --bios-type system \
    126126        --output $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).asm
    127         $$(QUIET)yasm -f bin -o $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).bin $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).asm
     127        $$(QUIET)$$(TOOL_YASM_AS) -f bin -o $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).bin $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).asm
    128128        $$(VBOX_VBOXCMP) $$< $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).bin
    129129        $$(CP) --changed -- $$(VBoxPcBios$(1)_0_OUTDIR)/VBoxBiosAlternative$(1).asm $$(PATH_ROOT)/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative$(1).asm
     
    174174                $$(VBOX_BIN2C) | $$$$(dir $$$$@)
    175175        $$(call MSG_TOOL,bin2c,PcBiosBin,$$<,$$@)
    176         $$(QUIET)yasm -f bin -o $$(PcBiosBin_0_OUTDIR)/VBoxPcBios$(1).rom $$<
     176        $$(QUIET)$$(VBOX_YASM) -f bin -o $$(PcBiosBin_0_OUTDIR)/VBoxPcBios$(1).rom $$<
    177177        $$(QUIET)$$(REDIRECT) -C $$(PcBiosBin_0_OUTDIR) -- \
    178178                $$(MD5SUM_EXT) -c $$(basename $$<).md5sum
     
    201201
    202202include $(FILE_KBUILD_SUB_FOOTER)
    203 
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