freebsd-dev/stand/i386/cdboot/Makefile
Warner Losh 8299b37f85 Centralize several variables.
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the
same, so set them in defs.mk. MAN= is common, so set it here too.
This removes a lot of boring repetition from the Makefiles that added
almost no value.
2018-02-02 06:32:26 +00:00

20 lines
287 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
PROG= cdboot
STRIP=
BINMODE=${NOBINMODE}
SRCS= ${PROG}.S
CFLAGS+=-I${BOOTSRC}/i386/common
ORG= 0x7c00
LDFLAGS+=${LDFLAGS_BIN}
.include <bsd.prog.mk>
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS.cdboot.S= ${CLANG_NO_IAS}