From: Fuad Tabba <fuad.tabba@linux.dev>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Len Brown <lenb@kernel.org>,
Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>,
Pawel Chmielewski <pawel.chmielewski@intel.com>,
linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev,
linux-kernel@vger.kernel.org, Fuad Tabba <tabba@google.com>
Subject: [PATCH 0/2] ACPI: tools: Fix stale headers in incremental builds
Date: Mon, 5 Oct 2026 16:37:21 +0100 [thread overview]
Message-ID: <20261005153723.2644331-1-fuad.tabba@linux.dev> (raw)
Hi folks,
Two fixes for incremental builds of the ACPI tools, which compile
against old headers after a header changes. The first replaces the
copy of include/acpi with a link, so the tools see the current headers.
The second adds dependency files, so objects that include a changed
header are rebuilt.
I found these while fixing the same kind of bug in the KVM selftests'
sysreg header [1].
Based on Linux 7.3-rc5 (72d3fcf802c45).
Cheers,
/fuad
[1] https://lore.kernel.org/all/20260922071945.693714-1-fuad.tabba@linux.dev/
Fuad Tabba (2):
ACPI: tools: Link include/acpi instead of copying it
ACPI: tools: Rebuild objects when a header they include changes
tools/power/acpi/Makefile.rules | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
--
2.39.5
next reply other threads:[~2026-10-05 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 15:37 Fuad Tabba [this message]
2026-10-05 15:37 ` [PATCH 1/2] ACPI: tools: Link include/acpi instead of copying it Fuad Tabba
2026-10-05 15:37 ` [PATCH 2/2] ACPI: tools: Rebuild objects when a header they include changes Fuad Tabba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261005153723.2644331-1-fuad.tabba@linux.dev \
--to=fuad.tabba@linux.dev \
--cc=acpica-devel@lists.linux.dev \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.wieczor-retman@intel.com \
--cc=pawel.chmielewski@intel.com \
--cc=rafael@kernel.org \
--cc=tabba@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®