diff options
author | John Hubbard <jhubbard@nvidia.com> | 2024-07-05 09:57:36 -1000 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-05 14:12:34 -0600 |
commit | 66cde337fa1b7c6cf31f856fa015bd91a4d383e7 (patch) | |
tree | dd7c32e71bb40b6a2b131b14b55510600fba12be /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h | |
parent | bb2a605de3757ec8c39e5706cfac3deed5694228 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h')
0 files changed, 0 insertions, 0 deletions