summaryrefslogtreecommitdiffstats
path: root/sys/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-08-19 09:54:28 +0000
committerdes <des@FreeBSD.org>2004-08-19 09:54:28 +0000
commita43cf2f4f6269d1425e16482767b17fe820f93af (patch)
treeb871b6dabe9d8fbc478e8b1f2848a9d6863bf7bf /sys/Makefile
parentaedf82c640457ff690bb1488d80aa65930350410 (diff)
downloadFreeBSD-src-a43cf2f4f6269d1425e16482767b17fe820f93af.zip
FreeBSD-src-a43cf2f4f6269d1425e16482767b17fe820f93af.tar.gz
Add a NO_BOOT knob to prevent building the boot blocks and loader.
Reviewed by: ru MFC after: 3 days
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 8c3c813..5e599b4 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -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)
OpenPOWER on IntegriCloud