Skip to content

Commit 0786654

Browse files
ameryhunganakryiko
authored andcommitted
selftests/bpf: Copy test_kmods when installing selftest
Commit d6212d8 ("selftests/bpf: Consolidate kernel modules into common directory") consolidated the Makefile of test_kmods. However, since it removed test_kmods from TEST_GEN_PROGS_EXTENDED, the kernel modules required by bpf selftests are now missing from kselftest_install when "make install". Fix it by adding test_kmod to TEST_GEN_FILES. Fixes: d6212d8 ("selftests/bpf: Consolidate kernel modules into common directory") Signed-off-by: Amery Hung <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 2caa6b8 commit 0786654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ TEST_GEN_PROGS_EXTENDED = \
137137
xdping \
138138
xskxceiver
139139

140-
TEST_GEN_FILES += liburandom_read.so urandom_read sign-file uprobe_multi
140+
TEST_GEN_FILES += $(TEST_KMODS) liburandom_read.so urandom_read sign-file uprobe_multi
141141

142142
ifneq ($(V),1)
143143
submake_extras := feature_display=0

0 commit comments

Comments
 (0)