2006-05-14 07:26:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= cdboot
|
|
|
|
STRIP=
|
|
|
|
BINMODE=${NOBINMODE}
|
|
|
|
NO_MAN=
|
2012-05-11 09:46:17 +00:00
|
|
|
SRCS= ${PROG}.S
|
|
|
|
|
|
|
|
CFLAGS+=-I${.CURDIR}/../../i386/common
|
2006-05-14 07:26:02 +00:00
|
|
|
|
|
|
|
ORG= 0x0000
|
|
|
|
|
2010-06-03 17:42:32 +00:00
|
|
|
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
|
2006-05-14 07:26:02 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
2012-11-07 19:51:53 +00:00
|
|
|
|
|
|
|
# XXX: clang integrated-as doesn't grok .codeNN directives yet
|
|
|
|
CFLAGS.cdboot.S= ${CLANG_NO_IAS}
|
|
|
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|