mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-21 00:39:07 +08:00
vmtest: omit building bpf_testmod.ko on non-latest kernels
Non-latest kernel versions don't build kernel from sources, so module buliding fails, despite using `make prepare`. For now, just make sure no module is built by overwriting bpf_testmod/Makefile. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
2981bb8d26
commit
46ecf7aef3
4
travis-ci/vmtest/prepare_selftests-4.9.0.sh
Executable file
4
travis-ci/vmtest/prepare_selftests-4.9.0.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
||||
touch bpf_testmod/bpf_testmod.ko
|
||||
4
travis-ci/vmtest/prepare_selftests-5.5.0.sh
Executable file
4
travis-ci/vmtest/prepare_selftests-5.5.0.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
||||
touch bpf_testmod/bpf_testmod.ko
|
||||
Reference in New Issue
Block a user