freebsd-skq/sys/boot/Makefile

22 lines
417 B
Makefile
Raw Normal View History

# $FreeBSD$
.include <bsd.own.mk>
.include <bsd.arch.inc.mk>
.if ${MK_FORTH} != "no"
# Build the add-in FORTH interpreter.
SUBDIR+= ficl
.endif
.if ${MK_FDT} != "no"
SUBDIR+= fdt
.endif
# Pick the machine-dependent subdir based on the target architecture.
ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/:S/powerpc64/powerpc/}
.if exists(${.CURDIR}/${ADIR}/.)
SUBDIR+= ${ADIR}
.endif
.include <bsd.subdir.mk>