Nuke the test for TOOLDIR here. Although it is theoretically a nice
idea, in practice it prevents doing totally reasonable things like "make cleandir" or "make obj" when you don't have a TOOLDIR built.
This commit is contained in:
parent
14fc12f3b4
commit
b0b54c8912
@ -1,14 +1,7 @@
|
||||
# $NetBSD: Makefile.inc,v 1.7 2001/09/25 01:43:35 tv Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.8 2001/10/27 01:57:40 perry Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# Ensure that TOOLDIR is set.
|
||||
.if !defined(TOOLDIR)
|
||||
.BEGIN:
|
||||
@echo "===> TOOLDIR must be set in ${MAKECONF} or the environment"
|
||||
@false
|
||||
.endif
|
||||
|
||||
# Stash the current directory (some builds here actually change .CURDIR).
|
||||
_CURDIR?=${.CURDIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user