Fixed sys/boot/pc98/boot2/Makefile to use kern.mk and
get rid of bsd.kern.mk completely. OK'ed by: bde
This commit is contained in:
parent
c3a916c3f0
commit
73f643b411
@ -4,7 +4,7 @@
|
||||
FILES= bsd.README
|
||||
FILES+= bsd.cpu.mk bsd.dep.mk bsd.doc.mk bsd.files.mk
|
||||
FILES+= bsd.incs.mk bsd.info.mk bsd.init.mk
|
||||
FILES+= bsd.kern.mk bsd.kmod.mk
|
||||
FILES+= bsd.kmod.mk
|
||||
FILES+= bsd.lib.mk bsd.libnames.mk bsd.links.mk bsd.man.mk bsd.nls.mk
|
||||
FILES+= bsd.obj.mk bsd.own.mk
|
||||
FILES+= bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk
|
||||
|
@ -1,13 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Search for kernel source tree in standard places.
|
||||
.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. /sys /usr/src/sys
|
||||
.if !defined(SYSDIR) && exists(${_dir}/conf/kern.mk)
|
||||
SYSDIR= ${_dir}
|
||||
.endif
|
||||
.endfor
|
||||
.if !defined(SYSDIR) || !exists(${SYSDIR}/kern) || !exists(${SYSDIR}/conf/)
|
||||
.error "can't find kernel source tree"
|
||||
.endif
|
||||
|
||||
.include "${SYSDIR}/conf/kern.mk"
|
@ -102,5 +102,5 @@ machine:
|
||||
|
||||
CLEANFILES+= machine
|
||||
|
||||
.include <bsd.kern.mk>
|
||||
.include "${.CURDIR}/../../../conf/kern.mk"
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user