ACPI: tools: Fix stale headers in incremental builds
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ACPI: tools: Link include/acpi instead of copying ittools/ | +4 | 0 replies | |
| 2/2 | ACPI: tools: Rebuild objects when a header they include changestools/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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