Skip to content

ACPI: tools: Fix stale headers in incremental builds

Fuad Tabba acpica-devel linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: tools: Link include/acpi instead of copying ittools/power/acpi/Makefile.rules+4 -50 replies
2/2ACPI: tools: Rebuild objects when a header they include changestools/power/acpi/Makefile.rules+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.39.5