Deleted Added
full compact
Makefile (123302) Makefile (124179)
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 123302 2003-12-08 19:02:06Z obrien $
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 124179 2004-01-06 18:46:35Z obrien $
2
3PROG?= boot0
4NOMAN=
5STRIP=
6BINDIR?= /boot
7BINMODE= 444
8
9M4?= m4

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

18# selection. Since there are 18.2 ticks per second, the default value of
19# 0xb6 (182d) corresponds to 10 seconds.
20BOOT_BOOT0_TICKS?= 0xb6
21
22# The base address that we the boot0 code to to run it. Don't change this
23# unless you are glutton for punishment.
24BOOT_BOOT0_ORG?= 0x600
25
2
3PROG?= boot0
4NOMAN=
5STRIP=
6BINDIR?= /boot
7BINMODE= 444
8
9M4?= m4

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

18# selection. Since there are 18.2 ticks per second, the default value of
19# 0xb6 (182d) corresponds to 10 seconds.
20BOOT_BOOT0_TICKS?= 0xb6
21
22# The base address that we the boot0 code to to run it. Don't change this
23# unless you are glutton for punishment.
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
26${PROG}: ${PROG}.o
27 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${PROG}.out ${PROG}.o
28 objcopy -S -O binary ${PROG}.out ${.TARGET}
29
30${PROG}.o: ${PROG}.s
31 ${AS} ${AFLAGS} --defsym FLAGS=${BOOT_BOOT0_FLAGS} \
32${PROG}: ${PROG}.o
33 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${PROG}.out ${PROG}.o
34 objcopy -S -O binary ${PROG}.out ${.TARGET}
35
36${PROG}.o: ${PROG}.s
37 ${AS} ${AFLAGS} --defsym FLAGS=${BOOT_BOOT0_FLAGS} \
32 --defsym TICKS=${BOOT_BOOT0_TICKS} ${.IMPSRC} -o ${.TARGET}
38 --defsym TICKS=${BOOT_BOOT0_TICKS} \
39 --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED} \
40 ${.IMPSRC} -o ${.TARGET}
33
34CLEANFILES+= ${PROG}.out ${PROG}.o
35
36.include <bsd.prog.mk>
41
42CLEANFILES+= ${PROG}.out ${PROG}.o
43
44.include <bsd.prog.mk>