Makefile revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# PC BIOS Makefile
685ccf70e6e6c011ed6e5accf31419124efe7d4fEugen Kuksa# Copyright (C) 2006 InnoTek Systemberatung GmbH
5422b48ab5841a2909cd9e53905dae4cd8418f0aJulian Kornberger# This file is part of VirtualBox Open Source Edition (OSE), as
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# available from http://www.virtualbox.org. This file is free software;
1336397afcb73ed175185dd2d55d3abada7b96f9Eugen Kuksa# you can redistribute it and/or modify it under the terms of the GNU
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# General Public License as published by the Free Software Foundation,
7c7e06cc28d4a357388069e1c1fd378082a2acc2Eugen Kuksa# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
764fc58505e0ba997a3120ed8da1fd2df4a38c27Eugen Kuksa# distribution. VirtualBox OSE is distributed in the hope that it will
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# be useful, but WITHOUT ANY WARRANTY of any kind.
98e5579e27d05587d5602ed4bf7c09d4c2b6fcb1Daniel Couto Vale# If you received this file as part of a commercial VirtualBox
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# distribution, then only the terms of your commercial VirtualBox
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# license agreement apply instead of the previous paragraph.
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian KornbergerDEPTH = ../../../../../
OTHER_CLEAN = \
PcBiosBin_INCS = ../..
PcDefBiosLogo_INCS = ../..
# Six steps to bios.bin and bios-syms.h
# 1. precompile rombios.c
$(call MSG_L1,Precompiling $<,=> $@)
$(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -I$(PATH_TARGET) -I$(PATH_CURRENT)/.. -DBX_SMP_PROCESSORS=1 -DVBOX $(addprefix -D,$(DEFS) $(DEFS.$(BUILD_TYPE))) -P $< > $@
# 4. assemble the intermediate asm file. (also creates a listing rombios.lst)
$(QUIET)$(VBOX_AS86) -b $(PATH_TARGET)/bios.tmp -u- -w- -g -0 -j -O -l $(PATH_TARGET)/bios.lst - < $^