Allow 'make buildenv' to work anywhere in the src tree.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if !target(__<src.init.mk>__)
|
||||
__<src.init.mk>__:
|
||||
|
||||
.if !target(buildenv)
|
||||
buildenv: .PHONY
|
||||
@env BUILDENV_DIR=${.CURDIR} ${MAKE} -C ${SRCTOP} buildenv
|
||||
.endif
|
||||
|
||||
.endif # !target(__<src.init.mk>__)
|
||||
Reference in New Issue
Block a user