diff options
| author | John Hubbard <[email protected]> | 2023-06-06 00:16:37 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-19 16:19:03 -0700 |
| commit | 9fc96c7c19dfab67bf81b25fbc4f49b7752d5060 (patch) | |
| tree | 3ee6a1918520056eeffbec3eaac2423bbaf9ea09 /tools/perf/scripts/python/netdev-times.py | |
| parent | 01d6c48a828b4c1cda2fadcb811b432b757bdf8e (diff) | |
selftests: error out if kernel header files are not yet built
As per a discussion with Muhammad Usama Anjum [1], the following is how
one is supposed to build selftests:
make headers && make -C tools/testing/selftests/mm
Change the selftest build system's lib.mk to fail out with a helpful
message if that prerequisite "make headers" has not been done yet.
[1] https://lore.kernel.org/all/[email protected]/
[[email protected]: abort the make process the first time headers aren't detected]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: fix out-of-tree builds]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Anders Roxell <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Tested-by: Muhammad Usama Anjum <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions