mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPI: tools: Fix stale headers in incremental builds
@ 2026-10-05 15:37 Fuad Tabba
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Fuad Tabba @ 2026-10-05 15:37 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Len Brown, Maciej Wieczor-Retman, Pawel Chmielewski, linux-acpi,
	acpica-devel, linux-kernel, Fuad Tabba

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-05 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 15:37 [PATCH 0/2] ACPI: tools: Fix stale headers in incremental builds Fuad Tabba
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

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®