From nobody Sun May 25 16:18:23 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b53wb5vlSz5xjHg for ; Sun, 25 May 2025 16:18:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b53wb4NvWz3KHf; Sun, 25 May 2025 16:18:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748189903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XzwkDV3pyHfgTMCib+zynC/GFoSP/x1qqqKIJTv5te8=; b=UZKZzrlt3PJVAvtiY2Li8D/OAi8+E+Aj3AP/wON5Pc/XyclYFzjBFvPJ5ucqrmeRvvnJ4i qSDZ2Kr9fzPhFWtd3KYuYhtpqhS8g1DLovbnruizuh2/NGBV7+N3SnYUQYgJkLXt983INr bvLUpoK31rBg3MtQQv/JokpYM+sWmgDgH6Ma6ae2toT2oM1t12rEIdffyzXj125e4X7RP7 J5CGuy0IKQ4QDrp5SIxAQSUR2REaMXKbnFAxlMxYMVttRMWlDGAOsDN1NxevaumAAWUc3A m4Rhoo1j8BVPd8hMNIgMbptH6CiI+y96TYkDdD1oBmUNXE4mA8xjnvzi6R4qQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748189903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XzwkDV3pyHfgTMCib+zynC/GFoSP/x1qqqKIJTv5te8=; b=QuBmAhDL7gnPvi5MlMRCYd/8Q2u+8r1VT8RLmZjbcW0xgXebYUP2HrGzEBGi57lxRfVE/G z4HVxh7xchXqCIBIUXPzPlxyi0kfwuCtHVV50gUAkQKRn9jtpOe2wnzP02nPPJjmyudL76 QB8FK8TuDjZIx6FsAbDgL7aMDqDw4mnYdteEQRI8max4r0hEcuwDYik1n7ft68yRZDbKBK G2CftjnVHFezrTkJTVgQ/CgLOdbsDMMg+oeqoR8XwjKj10c+1kyFE013Y9meoVQXYsCwog yb8eq3+zXfYEE21kX5/4l/b2NOWHe982pehxF8MamrgSHugcAOBWev7dK7AOng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748189903; a=rsa-sha256; cv=none; b=x3zrXxBnoCAS9QrpkmnSq15ie6BhLu/0luNVSoDKW8oru4U+TWD3el+NpsBlV6frESt3PL FFTJwuaeM9YqYNvNwBMwO3krX+5JWatBWD8gPlyTLDVzvQ8ggp+0GxhGk7tPQcmZ7tq1pu HOUtoGQzNVih6btivDtOlsNhDT0FnlJbLoeXOOtHWKIGj3cO/ZbJmXAYc0EOFIDQePp4MD UjgHKDB/qDL2Zwk96cvbC+GH+xe2i4UrESknLcHLizo4P3LNmIcg3u5VbcuYSMizcW/4rK aIlJYKHrAvYcvtIc65nY17oQLqZaMQPecqjDYzwsMnYXH1uuFhcSpHCQM3f5qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b53wb3zjwzD91; Sun, 25 May 2025 16:18:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54PGINs3027561; Sun, 25 May 2025 16:18:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54PGIN3c027558; Sun, 25 May 2025 16:18:23 GMT (envelope-from git) Date: Sun, 25 May 2025 16:18:23 GMT Message-Id: <202505251618.54PGIN3c027558@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ed Maste Subject: git: 49fd622cc3 - main - developers-handbook: Correct command to build entire OS List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49fd622cc34c689eb95506eee013ac1268579590 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/doc/commit/?id=49fd622cc34c689eb95506eee013ac1268579590 commit 49fd622cc34c689eb95506eee013ac1268579590 Author: Ed Maste AuthorDate: 2025-05-25 16:08:54 +0000 Commit: Ed Maste CommitDate: 2025-05-25 16:18:15 +0000 developers-handbook: Correct command to build entire OS `make world` and `make buildworld` do not build the kernel, so to actually compile "the entire operating system" the appropriate command is `make buildworld buildkernel`. Reported by: olce Sponsored by: The FreeBSD Foundation --- documentation/content/en/books/developers-handbook/tools/_index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/content/en/books/developers-handbook/tools/_index.adoc b/documentation/content/en/books/developers-handbook/tools/_index.adoc index 608851ecc7..bcae63ad03 100644 --- a/documentation/content/en/books/developers-handbook/tools/_index.adoc +++ b/documentation/content/en/books/developers-handbook/tools/_index.adoc @@ -530,7 +530,7 @@ In other words, this is the rule which tells make how to re-compile [.filename]# So, when you type `make`, it will make sure that [.filename]#foo# is up to date with respect to your latest changes to [.filename]#foo.c#. This principle can be extended to [.filename]#Makefile#'s with hundreds of targets-in fact, on FreeBSD, -it is possible to compile the entire operating system just by typing `make buildworld` at the top level directory in the src tree. +it is possible to compile the entire operating system just by typing `make buildworld buildkernel` at the top level directory in the src tree. Another useful property of makefiles is that the targets do not have to be programs. For instance, we could have a make file that looks like this: