mirror of
https://github.com/netdata/libbpf.git
synced 2026-11-05 17:30:15 +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:
1 parent
8262be6034
commit
c66a9770e3
2 files changed
+2
-4
No files matched your search
@@ -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