now <bsd.kernobj.mk> defines KERNSRCDIR correctly, pull it in earlier
and clean up related goop
This commit is contained in:
parent
0879d1487a
commit
cf1352743d
11
etc/Makefile
11
etc/Makefile
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.210 2002/04/10 12:05:20 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.211 2002/04/10 14:57:45 lukem Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# Environment variables without default values:
|
||||
|
@ -35,12 +35,13 @@
|
|||
# an objdir would break the installation stuff below
|
||||
NOOBJ= # defined
|
||||
|
||||
# do this before bsd.own.mk so we get correct KERNSRCDIR
|
||||
.include "../Makefile.inc"
|
||||
|
||||
# For NO_SENDMAIL, INSTPRIV, MKCRYPTO
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# For KERNSRCDIR, KERNOBJDIR, ...
|
||||
.include <bsd.kernobj.mk>
|
||||
|
||||
|
||||
.MAKEOVERRIDES+= USETOOLS
|
||||
|
||||
TZDIR= /usr/share/zoneinfo
|
||||
|
@ -132,8 +133,6 @@ TARGET_ENDIANNESS=
|
|||
.endif
|
||||
.endif # release || snapshot || distribution # }
|
||||
|
||||
.include <bsd.kernobj.mk>
|
||||
|
||||
obj:
|
||||
mkdir -p ${KERNOBJDIR}
|
||||
|
||||
|
|
Loading…
Reference in New Issue