mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 08:09:07 +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
|
#!/bin/bash
|
||||||
|
|
||||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
printf "all:\n\ttouch bpf_testmod.ko\n\nclean:\n" > bpf_testmod/Makefile
|
||||||
touch bpf_testmod/bpf_testmod.ko
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
printf "all:\n\nclean:\n" > bpf_testmod/Makefile
|
printf "all:\n\ttouch bpf_testmod.ko\n\nclean:\n" > bpf_testmod/Makefile
|
||||||
touch bpf_testmod/bpf_testmod.ko
|
|
||||||
|
|||||||
Reference in New Issue
Block a user