linux/tools/testing/selftests/vDSO
John Hubbard 66cde337fa selftests/vDSO: remove duplicate compiler invocations from Makefile
The Makefile open-codes compiler invocations that ../lib.mk already
provides.

Avoid this by using a Make feature that allows setting per-target
variables, which in this case are: CFLAGS and LDFLAGS. This approach
generates the exact same compiler invocations as before, but removes all
of the code duplication, along with the quirky mangled variable names.
So now the Makefile is smaller, less unusual, and easier to read.

The new dependencies are listed after including lib.mk, in order to
let lib.mk provide the first target ("all:"), and are grouped together
with their respective source file dependencies, for visual clarity.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-07-05 14:12:34 -06:00
..
.gitignore selftests/vDSO: add additional binaries to .gitignore 2021-01-04 09:25:44 -07:00
Makefile selftests/vDSO: remove duplicate compiler invocations from Makefile 2024-07-05 14:12:34 -06:00
parse_vdso.c selftests/vDSO: fix clang build errors and warnings 2024-07-05 14:12:23 -06:00
parse_vdso.h selftests: vdso: Use a header file to prototype parse_vdso API 2020-05-22 11:04:10 -06:00
vdso_config.h selftests/vDSO: fix building errors on LoongArch 2024-05-05 17:28:07 -07:00
vdso_standalone_test_x86.c selftests/vDSO: fix clang build errors and warnings 2024-07-05 14:12:23 -06:00
vdso_test_abi.c kselftest/vDSO: Use ksft_print_msg() rather than printf in vdso_test_abi 2023-11-30 14:50:09 -07:00
vdso_test_clock_getres.c kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined 2023-06-12 16:39:10 -06:00
vdso_test_correctness.c selftests/vDSO: fix array_size.cocci warning 2022-04-04 13:27:11 -06:00
vdso_test_getcpu.c selftests/vDSO: fix runtime errors on LoongArch 2024-05-05 17:28:07 -07:00
vdso_test_gettimeofday.c selftests/vDSO: fix runtime errors on LoongArch 2024-05-05 17:28:07 -07:00