Makefile revision 128651
126219Swpaul# $FreeBSD: head/sys/boot/i386/boot0/Makefile 128651 2004-04-25 20:36:44Z obrien $ 226219Swpaul 326219SwpaulPROG= ${BOOT} 426219SwpaulINTERNALPROG= 526219SwpaulFILES= ${BOOT} 626219SwpaulNOMAN= 726219SwpaulSRCS= ${BOOT}.s 826219Swpaul 926219SwpaulBOOT?= boot0 1026219Swpaul 1126219Swpaul# The default set of flags compiled into boot0. This enables update (writing 1226219Swpaul# the modified boot0 back to disk after running so that the selection made is 1326219Swpaul# saved), packet mode (detect and use the BIOS EDD extensions if we try to 1426219Swpaul# boot past the 1024 cylinder liimt), and booting from all valid slices. 1526219SwpaulBOOT_BOOT0_FLAGS?= 0xf 1626219Swpaul 1726219Swpaul# The number of timer ticks to wait for a keypress before assuming the default 1826219Swpaul# selection. Since there are 18.2 ticks per second, the default value of 1926219Swpaul# 0xb6 (182d) corresponds to 10 seconds. 2026219SwpaulBOOT_BOOT0_TICKS?= 0xb6 2126219Swpaul 2226219Swpaul# The base address that we the boot0 code to to run it. Don't change this 2326219Swpaul# unless you are glutton for punishment. 2426219SwpaulBOOT_BOOT0_ORG?= 0x600 2526219Swpaul 2626219Swpaul# Comm settings for boot0sio. 0xE3 => 9600 8-N-1 2726219Swpaul# XXX: We should create a build-tool or something to convert BOOT_CONSOLE_SPEED 2826219Swpaul# and BOOT_COMCONSOLE_PORT into the correct values to define on the build 2926219Swpaul# command line 3026219SwpaulBOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3 3126219Swpaul 3226219SwpaulAFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \ 3326219Swpaul --defsym TICKS=${BOOT_BOOT0_TICKS} \ 3426219Swpaul --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED} 3526219Swpaul 3626219SwpaulLDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary 3726219Swpaul 3826219Swpaul.include <bsd.prog.mk> 3926219Swpaul