diff options
author | John Hubbard <[email protected]> | 2024-07-05 09:57:35 -1000 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-07-05 14:12:28 -0600 |
commit | bb2a605de3757ec8c39e5706cfac3deed5694228 (patch) | |
tree | f21a79c92508196f70fd7e0333e45f994bf05746 /scripts/gdb/linux/modules.py | |
parent | 73810cd45b99c6c418e1c6a487b52c1e74edb20d (diff) |
selftests/vDSO: remove partially duplicated "all:" target in Makefile
There were a couple of errors here:
1. TEST_GEN_PROGS was incorrectly prepending $(OUTPUT) to each program
to be built. However, lib.mk already does that because it assumes "bare"
program names are passed in, so this ended up creating
$(OUTPUT)/$(OUTPUT)/file.c, which of course won't work as intended.
2. lib.mk was included before TEST_GEN_PROGS was set, which led to
lib.mk's "all:" target not seeing anything to rebuild.
So nothing worked, which caused the author to force things by creating
an "all:" target locally--while still including ../lib.mk.
Fix all of this by including ../lib.mk at the right place, and removing
the $(OUTPUT) prefix to the programs to be built, and removing the
duplicate "all:" target.
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions