mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
0917704bd4
All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
20 lines
538 B
Makefile
20 lines
538 B
Makefile
# $FreeBSD$
|
|
|
|
# This is the old aout only boot loader.
|
|
.if exists(${.CURDIR}/${MACHINE_ARCH}/boot) && ${OBJFORMAT} == "aout"
|
|
SUBDIR= ${MACHINE_ARCH}/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>
|