Re: [PATCH 0/2] ACPI: tools: Fix stale headers in incremental builds
From: Rafael J. Wysocki (Intel)
Date: Fri Nov 06 2026 - 15:38:14 EST
On Mon, Oct 5, 2026 at 5:37 PM Fuad Tabba <fuad.tabba@xxxxxxxxx> wrote:
>
> 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(-)
>
> --
Both patches applied as 7.5 material, thanks!