8 .if defined(BOOT_BTX_NOHANG)
14 CFLAGS+=-DBTX_FLAGS=${BOOT_BTX_FLAGS}
16 .if ${CC:T:Mclang} == "clang"
17 # XXX: clang integrated-as doesn't grok .codeNN directives yet
18 CFLAGS+=${.IMPSRC:T:Mbtx.S:C/^.+$/-no-integrated-as/}
21 .if defined(BTX_SERIAL)
22 BOOT_COMCONSOLE_PORT?= 0x3f8
23 BOOT_COMCONSOLE_SPEED?= 9600
26 CFLAGS+=-DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
27 -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
32 LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
34 .include <bsd.prog.mk>