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 $
8 .if defined(BOOT_BTX_NOHANG)
14 CFLAGS+= -DBTX_FLAGS=${BOOT_BTX_FLAGS}
16 .if defined(BTX_SERIAL)
17 BOOT_COMCONSOLE_PORT?= 0x3f8
18 BOOT_COMCONSOLE_SPEED?= 9600
21 CFLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
22 -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
30 ${LD} ${LDFLAGS} -N -e start -Ttext ${ORG} -o btx.out btx.o
31 objcopy -S -O binary btx.out ${.TARGET}
34 ${CC} ${CFLAGS} ${.IMPSRC} -o ${.TARGET} -c
36 CLEANFILES+= btx btx.out btx.o
38 .include <bsd.prog.mk>