1 # $FreeBSD: src/sys/boot/i386/btx/btx/Makefile,v 1.13 2002/09/17 01:48:54 peter Exp $
2 # $DragonFly: src/sys/boot/pc32/btx/btx/Makefile,v 1.4 2004/07/18 23:40:04 dillon Exp $
4 .if defined(BOOT_BTX_NOHANG)
10 CFLAGS+= -DBTX_FLAGS=${BOOT_BTX_FLAGS}
12 .if defined(BTX_SERIAL)
13 BOOT_COMCONSOLE_PORT?= 0x3f8
14 BOOT_COMCONSOLE_SPEED?= 9600
17 CFLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
18 -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
26 ${LD} ${LDFLAGS} -N -e start -Ttext ${ORG} -o btx.out btx.o
27 objcopy -S -O binary btx.out ${.TARGET}
30 ${CC} ${CFLAGS} ${.IMPSRC} -o ${.TARGET} -c
32 CLEANFILES+= btx btx.out btx.o
34 .include <bsd.prog.mk>