[PATCH 0/2] ACPI: tools: Fix stale headers in incremental builds

From: Fuad Tabba

Date: Mon Oct 05 2026 - 11:41:20 EST


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@xxxxxxxxx/

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