VirtualBox

Changeset 21997 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 5, 2009 1:23:17 PM (15 years ago)
Author:
vboxsync
Message:

VGABIOS: Must be the same size in both debug and release builds - undefines DEBUG in debug builds to archive this. See #4120.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/Makefile.kmk

    r13155 r21997  
    6767$$(PATH_VgaBiosBin)/VgaBiosBin.c: $$(PATH_VgaBiosBin)/vgabios.bin $(VBOX_BIN2C)
    6868        $(call MSG_TOOL,bin2c,VgaBiosBin,$<,$@)
    69         $(QUIET)$(VBOX_BIN2C) -min 32 -max 64 -mask 0x0fff -ascii -export VgaBiosBinary $< $@
     69        $(QUIET)$(VBOX_BIN2C) -min 36 -max 36 -mask 0x0fff -ascii -export VgaBiosBinary $< $@
    7070
    7171#
     
    7878
    7979# 2. precompile
     80# WARNING! DEBUG is undefined here to keep the image size stable between debug and release builds.
    8081$$(PATH_VgaBiosBin)/_vgabios_.c: $(addprefix $(PATH_SUB_CURRENT)/,vgabios.c vgabios.h vbe.h vgatables.h vgafonts.h vbe.c clext.c) $$(PATH_VgaBiosBin)/vbetables.h $(VBOX_VERSION_STAMP)
    8182        $(call MSG_TOOL,cpp,VgaBiosBin,$<,$@)
    82         $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -DVBOX -DVBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" -DVBE -DVGABIOS_DATE="''" $(addprefix -D,$(DEFS) $(DEFS.$(KBUILD_TYPE))) -o $@ $<
     83        $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -DVBOX -DVBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
     84                -DVBE -DVGABIOS_DATE="''" $(addprefix -D,$(DEFS) $(DEFS.$(KBUILD_TYPE))) \
     85                -UDEBUG \
     86                -o $@ $<
    8387
    8488# 3. compile
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