aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2023-07-12 19:35:14 +0000
committerPalmer Dabbelt <[email protected]>2023-08-02 20:47:47 +0000
commit8c82d2bf5944123d8e90d01bf27655497d9aa321 (patch)
tree9e07b0c27978277d0787e3fa91e40fce85413eae /rust/helpers.c
parentRISC-V: Don't include Zicsr or Zifencei in I from ACPI (diff)
downloadkernel-8c82d2bf5944123d8e90d01bf27655497d9aa321.tar.gz
kernel-8c82d2bf5944123d8e90d01bf27655497d9aa321.zip
selftests/riscv: fix potential build failure during the "emit_tests" step
The riscv selftests (which were modeled after the arm64 selftests) are improperly declaring the "emit_tests" target to depend upon the "all" target. This approach, when combined with commit 9fc96c7c19df ("selftests: error out if kernel header files are not yet built"), has caused build failures [1] on arm64, and is likely to cause similar failures for riscv. To fix this, simply remove the unnecessary "all" dependency from the emit_tests target. The dependency is still effectively honored, because again, invocation is via "install", which also depends upon "all". An alternative approach would be to harden the emit_tests target so that it can depend upon "all", but that's a lot more complicated and hard to get right, and doesn't seem worth it, especially given that emit_tests should probably not be overridden at all. [1] https://lore.kernel.org/[email protected] Fixes: 9fc96c7c19df ("selftests: error out if kernel header files are not yet built") Signed-off-by: John Hubbard <[email protected]> Tested-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions