diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-14 14:03:33 +0100 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2026-10-15 09:05:40 -0600 |
| commit | 62d432038329456b71643f77ae586165fb1c2c35 (patch) | |
| tree | 7c54f87d08f69bc179fb2bb99dffcf87005b3b49 /tools/lib/python/kdoc/python_version.py | |
| parent | 0abfa9ad5c6917cb9a509276f32009d944b3c269 (diff) | |
selftests: lib.mk: Don't fail install if no modules were built
The install rule for TEST_GEN_MODS_DIR copies *.ko from the directory
with rsync which fails if there are no modules, for example because the
directory's Makefile skipped building them. Only run rsync if there is
something to install. This currently affects the livepatch suite but it
seems sensible to fix here for added robstness.
Link: https://lore.kernel.org/r/20261014-kselftest-lib-no-modules-v1-1-e4f7208dcb56@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
