Makefile revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
#
# VGA BIOS Makefile
#
#
# Copyright (C) 2006 InnoTek Systemberatung GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
#
DEPTH = ../../../../..
OTHER_CLEAN = \
$(PATH_TARGET)/_vgabios_.c \
$(PATH_TARGET)/vgabios0.s \
$(PATH_TARGET)/vgabios1.s \
$(PATH_TARGET)/vgabios.tmp \
$(PATH_TARGET)/vgabios.lst \
$(PATH_TARGET)/vgabios.bin \
$(PATH_TARGET)/VgaBiosBin.c \
\
VgaBiosBin_INCS = ../..
#
# Rule for making the bios.
#
#
# vgabios
#
# 1. precompile
$(call MSG_L1,Precompiling $<,=> $@)
$(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -DVBOX -DVBOX_VERSION=\"$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)\" -E -P $< -DVBE -DVGABIOS_DATE="''" $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) > $@
# 2. compile
# 3. preprocess intermediate assembly.
# 4. assemble
$(QUIET)$(VBOX_AS86) -b $(PATH_TARGET)/vgabios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/vgabios.lst < $^
# 5. checksums
$(QUIET)$(TARGET_biossums) $@