mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-23 17:59:06 +08:00
vmtests: fix up bpf_testmod.ko generation for 5.5 and 4.9
Selftests makefile deletes local bpf_testmod.ko, so that invalidates current approach of faking bpf_testmod.ko "generation". Instead, generate a fake Makefile that will create an empty bpf_testmod/bpf_testmod.ko. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
8262be6034
commit
c66a9770e3
@@ -1,4 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
||||
touch bpf_testmod/bpf_testmod.ko
|
||||
printf "all:\n\ttouch bpf_testmod.ko\n\nclean:\n" > bpf_testmod/Makefile
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
||||
touch bpf_testmod/bpf_testmod.ko
|
||||
printf "all:\n\ttouch bpf_testmod.ko\n\nclean:\n" > bpf_testmod/Makefile
|
||||
|
||||
Reference in New Issue
Block a user