mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
20 lines
528 B
Makefile
20 lines
528 B
Makefile
# $FreeBSD$
|
|
|
|
# This is the old aout only boot loader.
|
|
.if exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
|
|
SUBDIR= ${MACHINE}/boot
|
|
.elif exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
|
|
SUBDIR= boot
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
|
|
SUBDIR= boot
|
|
.endif
|
|
|
|
# KLD modules build for both a.out and ELF
|
|
SUBDIR+=modules
|
|
|
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
|
|
|
.include <bsd.subdir.mk>
|