]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/boot/pc98/btx/btx/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / boot / pc98 / btx / btx / Makefile
1 # $FreeBSD$
2
3 PROG=   btx
4 INTERNALPROG=
5 NO_MAN=
6 SRCS=   btx.S
7
8 .if defined(BOOT_BTX_NOHANG)
9 BOOT_BTX_FLAGS=0x1
10 .else
11 BOOT_BTX_FLAGS=0x0
12 .endif
13
14 CFLAGS+=-DBTX_FLAGS=${BOOT_BTX_FLAGS}
15
16 .if defined(BTX_SERIAL)
17 BOOT_COMCONSOLE_PORT?= 0x238
18 BOOT_COMCONSOLE_SPEED?= 9600
19 B2SIOFMT?=      0x3
20
21 CFLAGS+=-DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
22         -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
23 .endif
24
25 ORG=    0x9000
26
27 LDFLAGS=-N -e start -Ttext ${ORG} -Wl,-S,--oformat,binary
28
29 .include <bsd.prog.mk>