VirtualBox

忽略:
時間撮記:
2015-11-6 下午03:31:37 (9 年 以前)
作者:
vboxsync
訊息:

bs3kit: did the gluing of link image and boot sector - bs3-shutdown now really works. Elimited the unwanted 'text' section.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r58593 r58609  
    3636VBOX_PATH_BS3KIT_SRC = $(VBOX_PATH_VALIDATIONKIT_SRC)/bootsectors/bs3kit
    3737
     38# Boot Sector post-link tool used below.
     39BLDPROGS += VBoxBs3Linker
     40VBoxBs3Linker_TEMPLATE = VBoxBldProg
     41VBoxBs3Linker_SOURCES  = $(VBOX_PATH_BS3KIT_SRC)/VBoxBs3Linker.cpp
     42
    3843# Dummy CP "linker" tool.
    3944TOOL_VBoxBsCpLd = Dummy copy linker.
     
    6267TEMPLATE_VBoxBS3KitImg_ASTOOL   = NASM
    6368TEMPLATE_VBoxBS3KitImg_ASFLAGS := -f obj -g -w+orphan-labels
    64 TEMPLATE_VBoxBS3KitImg_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS __NASM__
     69TEMPLATE_VBoxBS3KitImg_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS ARCH_BITS=16 __NASM__
    6570TEMPLATE_VBoxBS3KitImg_ARTOOL   = OPENWATCOM-16
    6671TEMPLATE_VBoxBS3KitImg_CTOOL    = OPENWATCOM-16
     
    9196          segment BS3DATA32 \
    9297          segment DATA32
     98TEMPLATE_VBoxBS3KitImg_DEPS = \
     99        $(bs3-bootsector_1_TARGET) \
     100        $(VBoxBs3Linker_1_TARGET)
     101TEMPLATE_VBoxBS3KitImg_POST_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY)\
     102        ,,$(QUIET)$(MV_EXT) -f -- "$(out)" "$(out).tmp" \
     103        $$(NLTAB)$(QUIET)$(VBoxBs3Linker_1_TARGET) -o $(out) $(bs3-bootsector_1_TARGET) $(out).tmp \
     104        $$(NLTAB)$(QUIET)$(RM_EXT) -f -- "$(out).tmp")
     105
    93106TEMPLATE_VBoxBS3KitImg_LIBS = \
    94     $(PATH_OBJ)/bs3kit-common-16/bs3kit-common-16.lib \
    95     $(PATH_OBJ)/bs3kit-common-32/bs3kit-common-32.lib \
    96     $(PATH_OBJ)/bs3kit-common-64/bs3kit-common-64.lib
     107        $(PATH_OBJ)/bs3kit-common-16/bs3kit-common-16.lib \
     108        $(PATH_OBJ)/bs3kit-common-32/bs3kit-common-32.lib \
     109        $(PATH_OBJ)/bs3kit-common-64/bs3kit-common-64.lib
    97110
    98111# BS3Kit template for 32-bit code.
     
    101114TEMPLATE_VBoxBS3KitImg32_ASTOOL   = NASM
    102115TEMPLATE_VBoxBS3KitImg32_ASFLAGS := -f obj -g --allow-64bit-code-anywhere -w+orphan-labels
    103 TEMPLATE_VBoxBS3KitImg32_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS __NASM__
     116TEMPLATE_VBoxBS3KitImg32_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS ARCH_BITS=32 __NASM__
    104117TEMPLATE_VBoxBS3KitImg32_ARTOOL   = OPENWATCOM
    105118TEMPLATE_VBoxBS3KitImg32_CTOOL    = OPENWATCOM
     
    115128TEMPLATE_VBoxBS3KitImg64_ASTOOL   = NASM
    116129TEMPLATE_VBoxBS3KitImg64_ASFLAGS := -f obj -g --allow-64bit-code-anywhere -w+orphan-labels
    117 TEMPLATE_VBoxBS3KitImg64_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS __NASM__
     130TEMPLATE_VBoxBS3KitImg64_ASDEFS   = ASM_FORMAT_OMF RT_NOINC_SEGMENTS ARCH_BITS=64 __NASM__
    118131TEMPLATE_VBoxBS3KitImg64_ARTOOL   = OPENWATCOM
    119132TEMPLATE_VBoxBS3KitImg64_INCS     = $(VBOX_PATH_BS3KIT_SRC) .
     
    130143TEMPLATE_VBoxBS3KitBS_ASTOOL   = YASM
    131144TEMPLATE_VBoxBS3KitBS_ASFLAGS := -f bin --mapfile
    132 TEMPLATE_VBoxBS3KitBS_ASDEFS   = ASM_FORMAT_BIN RT_NOINC_SEGMENTS __YASM__
     145TEMPLATE_VBoxBS3KitBS_ASDEFS   = ASM_FORMAT_BIN RT_NOINC_SEGMENTS ARCH_BITS=16 __YASM__
    133146TEMPLATE_VBoxBS3KitBS_INCS     = $(VBOX_PATH_BS3KIT_SRC) .
    134147TEMPLATE_VBoxBS3KitBS_LDTOOL   = VBoxBsCpLd
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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