Always build ${MACHINE}/boot if it exists. Makefiles shouldn't know
about deficiencies in subdirs.
This commit is contained in:
parent
2a408617a9
commit
e5f94bcd7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42178
18
sys/Makefile
18
sys/Makefile
@ -1,19 +1,15 @@
|
|||||||
# $Id: Makefile,v 1.13 1998/10/11 18:39:38 rnordier Exp $
|
# $Id: Makefile,v 1.14 1998/11/03 06:50:58 peter Exp $
|
||||||
|
|
||||||
# This is the old aout only boot loader.
|
SUBDIR= modules
|
||||||
.if exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
|
|
||||||
SUBDIR= ${MACHINE}/boot
|
.if ${MACHINE_ARCH} == "alpha" || ${OBJFORMAT} == "elf"
|
||||||
.elif exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
|
SUBDIR+=boot
|
||||||
SUBDIR= boot
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(boot) && ${MACHINE_ARCH} == "alpha"
|
.if exists(${.CURDIR}/${MACHINE}/boot)
|
||||||
SUBDIR= boot
|
SUBDIR+=${MACHINE}/boot
|
||||||
.endif
|
.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`
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user