Deleted Added
full compact
Makefile (128718) Makefile (128722)
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 128718 2004-04-28 16:16:16Z ru $
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 128722 2004-04-28 20:49:17Z ru $
2
3PROG= ${BOOT}
4INTERNALPROG=
5FILES= ${BOOT}
6NOMAN=
2
3PROG= ${BOOT}
4INTERNALPROG=
5FILES= ${BOOT}
6NOMAN=
7SRCS= ${BOOT}.s
7SRCS= ${BOOT}.S
8
9BOOT?= boot0
10
11# The default set of flags compiled into boot0. This enables update (writing
12# the modified boot0 back to disk after running so that the selection made is
13# saved), packet mode (detect and use the BIOS EDD extensions if we try to
14# boot past the 1024 cylinder liimt), and booting from all valid slices.
15BOOT_BOOT0_FLAGS?= 0xf

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

24BOOT_BOOT0_ORG?= 0x600
25
26# Comm settings for boot0sio. 0xE3 => 9600 8-N-1
27# XXX: We should create a build-tool or something to convert BOOT_CONSOLE_SPEED
28# and BOOT_COMCONSOLE_PORT into the correct values to define on the build
29# command line
30BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3
31
8
9BOOT?= boot0
10
11# The default set of flags compiled into boot0. This enables update (writing
12# the modified boot0 back to disk after running so that the selection made is
13# saved), packet mode (detect and use the BIOS EDD extensions if we try to
14# boot past the 1024 cylinder liimt), and booting from all valid slices.
15BOOT_BOOT0_FLAGS?= 0xf

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

24BOOT_BOOT0_ORG?= 0x600
25
26# Comm settings for boot0sio. 0xE3 => 9600 8-N-1
27# XXX: We should create a build-tool or something to convert BOOT_CONSOLE_SPEED
28# and BOOT_COMCONSOLE_PORT into the correct values to define on the build
29# command line
30BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3
31
32AFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \
33 --defsym TICKS=${BOOT_BOOT0_TICKS} \
34 --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED}
32CFLAGS+=-DFLAGS=${BOOT_BOOT0_FLAGS} \
33 -DTICKS=${BOOT_BOOT0_TICKS} \
34 -DCOMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED}
35
36LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary
37
35
36LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary
37
38CLEANFILES+= boot0.s
39boot0.s: boot0_512.s
40 cpp -USIO < ${.ALLSRC} > ${.TARGET}
41
42CLEANFILES+= boot0sio.s
43boot0sio.s: boot0_512.s
44 cpp -DSIO < ${.ALLSRC} > ${.TARGET}
45
46.include <bsd.prog.mk>
38.include <bsd.prog.mk>