mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
d681f8bf6c
This file uses .code16 directives, which are not yet supported by clang's integrated assembler. MFC after: 1 month
20 lines
336 B
Makefile
20 lines
336 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= cdboot
|
|
STRIP=
|
|
BINMODE=${NOBINMODE}
|
|
NO_MAN=
|
|
SRCS= ${PROG}.S
|
|
|
|
CFLAGS+=-I${.CURDIR}/../common
|
|
|
|
ORG= 0x7c00
|
|
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
|
CFLAGS.cdboot.S= ${CLANG_NO_IAS}
|
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|