Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144653505
D50276.1776035466.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D50276.1776035466.diff
View Options
Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -13,13 +13,11 @@
# buildworld - Rebuild *everything*, including glue to help do
# upgrades.
# installworld - Install everything built by "buildworld".
-# world - buildworld + installworld, no kernel.
# buildkernel - Rebuild the kernel and the kernel-modules.
# installkernel - Install the kernel and the kernel-modules.
# installkernel.debug
# reinstallkernel - Reinstall the kernel and the kernel-modules.
# reinstallkernel.debug
-# kernel - buildkernel + installkernel.
# kernel-toolchain - Builds the subset of world necessary to build a kernel
# kernel-toolchains - Build kernel-toolchain for all universe targets.
# doxygen - Build API documentation of the kernel, needs doxygen.
@@ -67,13 +65,6 @@
# r340283 (2018-11) required 167 GB of space. ZFS lz4 compression
# achieved a 2.18x ratio, reducing actual space to 81 GB.
#
-# For individuals wanting to build from the sources currently on their
-# system, the simple instructions are:
-#
-# 1. `cd /usr/src' (or to the directory containing your source tree).
-# 2. Define `HISTORICAL_MAKE_WORLD' variable (see README).
-# 3. `make world'
-#
# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
@@ -402,60 +393,6 @@
.error check your date/time: ${STARTTIME}
.endif
-.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
-#
-# world
-#
-# Attempt to rebuild and reinstall everything. This target is not to be
-# used for upgrading an existing FreeBSD system, because the kernel is
-# not included. One can argue that this target doesn't build everything
-# then.
-#
-world: upgrade_checks .PHONY
- @echo "--------------------------------------------------------------"
- @echo ">>> make world started on ${STARTTIME}"
- @echo "--------------------------------------------------------------"
-.if target(pre-world)
- @echo
- @echo "--------------------------------------------------------------"
- @echo ">>> Making 'pre-world' target"
- @echo "--------------------------------------------------------------"
- ${_+_}@cd ${.CURDIR}; ${_MAKE} pre-world
-.endif
- ${_+_}@cd ${.CURDIR}; ${_MAKE} buildworld
- ${_+_}@cd ${.CURDIR}; ${_MAKE} installworld MK_META_MODE=no
-.if target(post-world)
- @echo
- @echo "--------------------------------------------------------------"
- @echo ">>> Making 'post-world' target"
- @echo "--------------------------------------------------------------"
- ${_+_}@cd ${.CURDIR}; ${_MAKE} post-world
-.endif
- @echo
- @echo "--------------------------------------------------------------"
- @echo ">>> make world completed on `LC_ALL=C date`"
- @echo " (started ${STARTTIME})"
- @echo "--------------------------------------------------------------"
-.else
-world: .PHONY
- @echo "WARNING: make world will overwrite your existing FreeBSD"
- @echo "installation without also building and installing a new"
- @echo "kernel. This can be dangerous. Please read the handbook,"
- @echo "'Rebuilding world', for how to upgrade your system."
- @echo "Define DESTDIR to where you want to install FreeBSD,"
- @echo "including /, to override this warning and proceed as usual."
- @echo ""
- @echo "Bailing out now..."
- @false
-.endif
-
-#
-# kernel
-#
-# Short hand for `make buildkernel installkernel'
-#
-kernel: buildkernel installkernel .PHONY
-
#
# Perform a few tests to determine if the installed tools are adequate
# for building the world.
Index: share/man/man7/build.7
===================================================================
--- share/man/man7/build.7
+++ share/man/man7/build.7
@@ -421,11 +421,6 @@
.Va DISTDIR .
This target is used while building a release; see
.Xr release 7 .
-.It Cm kernel
-Equivalent to
-.Cm buildkernel
-followed by
-.Cm installkernel
.It Cm kernel-toolchain
Rebuild the tools needed for kernel compilation.
Use this if you did not do a
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 11:11 PM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28333921
Default Alt Text
D50276.1776035466.diff (3 KB)
Attached To
Mode
D50276: Makefile: Remove `make world` and `make kernel`
Attached
Detach File
Event Timeline
Log In to Comment