VirtualBox

Changeset 41512 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
May 30, 2012 11:06:56 PM (13 years ago)
Author:
vboxsync
Message:

Alternative way of 'building' the new bios code.

Location:
trunk/src/VBox/Devices/PC/BIOS-new
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/Makefile.kmk

    r41503 r41512  
    4545        VBOX_PC_BIOS \
    4646        VBOX_LANBOOT_SEG=0xE200 \
    47         VBOX_VERSION_STRING=\"0.9\" \
     47        VBOX_VERSION_STRING=\"VBOX_VERSION_STRING\" \
    4848        VBOX_WITH_SCSI \
    4949        VBOX_WITH_AHCI
     
    9696 # Updates the alternative source file.
    9797 #
    98  update-bios-source | $(PATH_SUB_CURRENT)/VBoxBiosAlternative.asm: \
     98 update-bios-source | $(PATH_SUB_CURRENT)/VBoxBiosAlternative.asm $(PATH_SUB_CURRENT)/VBoxBiosAlternative.md5sum: \
    9999                $$(VBoxPcBios_1_TARGET) \
    100100                $$(MakeDebianBiosAssembly_1_TARGET)
     101 if1of ($(KBUILD_TYPE), release)
    101102        $(MakeDebianBiosAssembly_1_TARGET) \
    102103                --bios-image $< \
     
    106107        $(QUIET)yasm -f bin -o $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.bin $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm
    107108        $(CMP) -l -- $< $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.bin
    108         @if $(CMP_EXT) -s -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm $(PATH_ROOT)/src/VBox/Devices/PC/BIOS-new/VBoxBiosAlternative.asm; \
    109         then \
    110                 $(CP_EXT) -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm $(PATH_ROOT)/src/VBox/Devices/PC/BIOS-new/VBoxBiosAlternative.asm; \
    111         fi
    112         $(RM) -f -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.bin
     109        $(CP) --changed -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm $(PATH_ROOT)/src/VBox/Devices/PC/BIOS-new/VBoxBiosAlternative.asm
     110        $(MD5SUM) -bo $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.md5sum $(VBoxPcBios_1_TARGET)
     111        $(CP) --changed -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.md5sum $(PATH_ROOT)/src/VBox/Devices/PC/BIOS-new/VBoxBiosAlternative.md5sum
     112        $(RM) -f -- $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.asm $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.bin $(VBoxPcBios_0_OUTDIR)/VBoxBiosAlternative.md5sum
     113 else
     114        $(QUIET)$(ECHO) "Fatal error: Can only update VBoxBiosAlternative.asm/md5sum with a release build."
     115        $(QUIET)exit 1
     116 endif
    113117
    114118endif # VBOX_WITH_OPEN_WATCOM
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