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:
parent
aedf82c640
commit
a43cf2f4f6
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user