diff options
| author | Moon Hee Lee <[email protected]> | 2025-07-02 17:17:05 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2025-07-22 21:10:52 +0000 |
| commit | 661e9cd196598c7d2502260ebbe60970546cca35 (patch) | |
| tree | 36ae4007fe04d604d4e2ef966ebbae7c9c0572c3 /lib/crypto/mpi/mpiutil.c | |
| parent | selftests: breakpoints: use suspend_stats to reliably check suspend success (diff) | |
| download | kernel-661e9cd196598c7d2502260ebbe60970546cca35.tar.gz kernel-661e9cd196598c7d2502260ebbe60970546cca35.zip | |
selftests/kexec: fix test_kexec_jump build
The test_kexec_jump program builds correctly when invoked from the top-level
selftests/Makefile, which explicitly sets the OUTPUT variable. However,
building directly in tools/testing/selftests/kexec fails with:
make: *** No rule to make target '/test_kexec_jump', needed by 'test_kexec_jump.sh'. Stop.
This failure occurs because the Makefile rule relies on $(OUTPUT), which is
undefined in direct builds.
Fix this by listing test_kexec_jump in TEST_GEN_PROGS, the standard way to
declare generated test binaries in the kselftest framework. This ensures the
binary is built regardless of invocation context and properly removed by
make clean.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Moon Hee Lee <[email protected]>
Acked-by: Baoquan He <[email protected]>
Acked-by: David Woodhouse <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
