John Hubbard c77896b143 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/20230710-kselftest-fix-arm64-v1-1-48e872844f25@kernel.org

Fixes: 9fc96c7c19df ("selftests: error out if kernel header files are not yet built")
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2023-07-14 12:32:42 -06:00
..
2023-04-24 12:28:34 -07:00
2023-06-28 16:43:10 -07:00
2023-06-19 16:19:11 -07:00
2023-02-23 09:37:29 -08:00
2023-06-30 10:44:53 -07:00
2023-06-29 10:11:10 -07:00
2023-07-03 15:32:22 -07:00
2023-02-23 09:37:29 -08:00
2023-04-18 16:53:52 -07:00
2023-04-25 11:05:04 -07:00
2023-02-23 09:37:29 -08:00
2023-03-01 09:27:00 -08:00
2023-04-11 14:10:47 -06:00