Deleted Added
sdiff udiff text old ( 125517 ) new ( 125537 )
full compact
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 125537 2004-02-06 21:58:32Z ru $
2
3FILES= ${BOOT}
4CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o
5
6BOOT?= boot0
7
8# The default set of flags compiled into boot0. This enables update (writing
9# the modified boot0 back to disk after running so that the selection made is
10# saved), packet mode (detect and use the BIOS EDD extensions if we try to
11# boot past the 1024 cylinder liimt), and booting from all valid slices.
12BOOT_BOOT0_FLAGS?= 0xf
13
14# The number of timer ticks to wait for a keypress before assuming the default

--- 6 unchanged lines hidden (view full) ---

21BOOT_BOOT0_ORG?= 0x600
22
23# Comm settings for boot0sio. 0xE3 => 9600 8-N-1
24# XXX: We should create a build-tool or something to convert BOOT_CONSOLE_SPEED
25# and BOOT_COMCONSOLE_PORT into the correct values to define on the build
26# command line
27BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3
28
29AFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \
30 --defsym TICKS=${BOOT_BOOT0_TICKS} \
31 --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED}
32
33${BOOT}: ${BOOT}.out
34 objcopy -S -O binary ${BOOT}.out ${.TARGET}
35
36${BOOT}.out: ${BOOT}.o
37 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${BOOT}.o
38
39.include <bsd.prog.mk>