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.3 2003/11/10 06:08:35 dillon Exp $
10 .if defined(BOOT_BTX_NOHANG)
16 AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
18 .if defined(BTX_SERIAL)
19 BOOT_COMCONSOLE_PORT?= 0x3f8
20 BOOT_COMCONSOLE_SPEED?= 9600
23 M4FLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
24 -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
32 ${LD} -N -e start -Ttext ${ORG} -o btx.out btx.o
33 objcopy -S -O binary btx.out ${.TARGET}
36 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btx.s) | \
37 ${AS} ${AFLAGS} -o ${.TARGET}
39 CLEANFILES+= btx btx.out btx.o
41 .include <bsd.prog.mk>