Add a NO_BOOT knob to prevent building the boot blocks and loader.

Reviewed by:	ru
MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2004-08-19 09:54:28 +00:00
parent da5d8b9395
commit 5c73a49168
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134007
3 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,7 @@
#ENABLE_SUID_NEWGRP= true
#
# To avoid building various parts of the base system:
#NO_BOOT= true # do not build boot blocks and loader
#NO_CVS= true # do not build CVS
#NO_CXX= true # do not build C++ and friends
#NO_BIND= true # do not build BIND

View File

@ -445,6 +445,9 @@ Set to build modules with the system instead of the kernel.
.It Va NO_BLUETOOTH
.Pq Vt bool
Set to not build Bluetooth related kernel modules, programs and libraries.
.It Va NO_BOOT
.Pq Vt bool
Set to not build the boot blocks and loader.
.It Va NO_CVS
.Pq Vt bool
Set to not build CVS.

View File

@ -1,9 +1,11 @@
# $FreeBSD$
# The boot loader
.if !defined(NO_BOOT)
.if ${MACHINE_ARCH} != "arm"
SUBDIR= boot
.endif
.endif
# Loadable kernel modules
.if defined(MODULES_WITH_WORLD)