Add an alternative version of bsd.prefs.mk. make(1) processing of
the fullly conditionalised bsd.prefs.mk still needs a considerable amount of time and moving the include guard out kills most of that. Preliminary tests with renaming bsd.prefs.mk and using the same logic to point to the real files show 5%-10% reduced run time for "make show-options" in x11/kdebase3 and no measurable regression in simpler places. This versions allows incremental conversion of the use in buildlink3.mk. Some care should be used in mk/ itself, as e.g. bsd.pkg.mk is included from first level hierachies as well.
This commit is contained in:
parent
fc787407d9
commit
15f3a36f40
1 changed files with 8 additions and 0 deletions
8
mk/bsd.fast.prefs.mk
Normal file
8
mk/bsd.fast.prefs.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
# $NetBSD: bsd.fast.prefs.mk,v 1.1 2006/11/05 14:28:38 joerg Exp $
|
||||
#
|
||||
# Conditionally include mk/bsd.prefs.mk, if it wasn't processed already.
|
||||
#
|
||||
|
||||
.if !defined(BSD_PKG_MK)
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.endif
|
Loading…
Reference in a new issue