From nobody Wed Nov 02 17:03:02 2022 X-Original-To: dev-commits-src-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 4N2Y9g1yTCz4gNk6; Wed, 2 Nov 2022 17:03:03 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N2Y9g1Pckz3pZH; Wed, 2 Nov 2022 17:03:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667408583; 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=xPd4c76/hHDAIXxPMfS+mKXyNAIFeFj8b9a4pRak1O4=; b=Ls/mx5R+vAqEhDm4DyPs4ks0WuHkq9L0iogOqyeb+hwk1IXvk/wt6PRxEVVuU2hHNZ2d7u J20ju/fkoUDz8ieoFEr+qe5oBG1C9KBK6eqCVbbhumDADXAe+CAfHotRyOwg2gMrGBSNYO uLo1xBPbfKUQnDWCGa2SNURjDMw1pitwHvwExPcorj6naHFYap/7NfpmEVdpJBtHYT/bVf WDhZJ/pNf1a9U/O9eg+ZSpD/ICo+vBN2faAaqEiY/QfB3QXkR+unC/p9jBlOGKol9rsWQ4 FX0PxcL6YM1w82znvzvDgHULa8yo9moiBuqblVQZGfD2PHJZc+w3EHflwT+VJg== 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 4N2Y9g0QPyz13Jc; Wed, 2 Nov 2022 17:03:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A2H32ZG064868; Wed, 2 Nov 2022 17:03:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A2H32ZL064867; Wed, 2 Nov 2022 17:03:02 GMT (envelope-from git) Date: Wed, 2 Nov 2022 17:03:02 GMT Message-Id: <202211021703.2A2H32ZL064867@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: 9c0faaeb1b9c - stable/13 - sysent: regenerate files every time List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9c0faaeb1b9c626a63ca5843361b21894504e780 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667408583; 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=xPd4c76/hHDAIXxPMfS+mKXyNAIFeFj8b9a4pRak1O4=; b=XXHSVEZ7001uX5SSATNYWks8Nz70qT7pidTCEYhqAXxQsmh2rDVa5Pbwf5RF8gWz+IBpZ6 Y9w80yIDX4GtMn4ug6vvKO9beOcMQl5OXdD0glbpUbCJuCW8S62emY1/MvHoIQKDGHkYzg Vyd1Nm0KwW7gLtiqAR67PLWdSVgymO5GkVe6iM5eJiK0rruQVqDMzrjSpAjcJkpl20W6oM l6DHMS3F6i+K9NfM66nq9uYG2m9dkLEcu1OqyWKNX1ppi6BzyKDFW9B6gexo8x6uDq1wx6 e9KxyCBnDJN3Wgpdq66QamGFX3P96PWCAsNLI0qI0NB8A84mubVqHIgPL6dTMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667408583; a=rsa-sha256; cv=none; b=abqDEm50eVBz7mBKRggBPNnAoW0cCy4rdO64CU58RbqKQj+z5cu0rrT3aiahaf8ZUZ9UXw ey0URoefYvZymPhQuVSSW264Z8uKYWpgtM/E/fjCCy7TWJwy4oF2F1Tn60dbpK1GIbuAQS kuibcEUg/Nzyf0X31Pvt4jLAMf7GadpZnMJmBhipMYr5bDl3Eg83QeyxoGQY2q8mVvOVvj Ym0zbwr7JpL5VzcGmHaQStuC7OkFE/zAOJI/8NQzhuuni/umiPcqsUeqHU4oowBIhcvY+A 2n+/KffK9FqnB8biIuwWD0Y2oVnWIeNUDIv/jhILmMQ1FkA1xXBnantA+u2WzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=9c0faaeb1b9c626a63ca5843361b21894504e780 commit 9c0faaeb1b9c626a63ca5843361b21894504e780 Author: Kyle Evans AuthorDate: 2021-12-09 05:20:16 +0000 Commit: Kyle Evans CommitDate: 2022-11-02 17:02:23 +0000 sysent: regenerate files every time This forces everything to be regenerated by marking makesyscalls.lua as .PHONY, which may be helpful in, e.g., rebase scenarios, which may have unexpected effects on mtimes but still really need a regen. For now we apply this to the default sysent target, which is ran manually and not as a part of buildkernel. We can reconsider this if someone manually running it has issues with the runtime, but the top level sysent target can run each in parallel; I recommend -j4 or so. Requested by: kib Reviewed by: brooks, kib (both earlier version) (cherry picked from commit 8ea3921f932c43e2ece5c3f9033d4990a4d81375) --- sys/conf/sysent.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/conf/sysent.mk b/sys/conf/sysent.mk index 761905f3ffa6..9f5804693f9d 100644 --- a/sys/conf/sysent.mk +++ b/sys/conf/sysent.mk @@ -41,5 +41,10 @@ all: .ORDER: ${GENERATED} sysent: ${GENERATED} +# We slap a .PHONY on makesyscalls.lua so that we regenerate every single time, +# for now, which can be less painful across rebases or other things that may +# have odd effects on mtimes. +${MAKESYSCALLS_SCRIPT}: .PHONY + ${GENERATED}: ${MAKESYSCALLS_SCRIPT} ${SRCS} ${MAKESYSCALLS} ${SYSENT_FILE} ${SYSENT_CONF}