summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-01-15 04:19:03 +0000
committerWarner Losh <imp@FreeBSD.org>2009-01-15 04:19:03 +0000
commit791777753c6bd900fdd5c08a30f770cd39639af6 (patch)
tree6d1f64492a4783e84c582eb4c5d9275e46179399
parenta9cade51ed837528b7dba2e3ee1b1131ee42295c (diff)
Notes
-rw-r--r--Makefile.inc16
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d247cb134b07..343ae78450c9 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -5,6 +5,7 @@
# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNO_CLEAN do not clean at all
# -DNO_SHARE do not go into share subdir
+# -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELCONFIG
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
@@ -697,6 +698,11 @@ distrib-dirs distribution:
# be set to cross-build, we have to make sure TARGET is set
# properly.
+.if defined(KERNFAST)
+NO_KERNELCLEAN= t
+NO_KERNELCONFIG= t
+NO_KERNELDEPEND= t
+.endif
.if !defined(KERNCONF) && defined(KERNEL)
KERNCONF= ${KERNEL}
KERNWARN=