Logo
Explore Help
Sign In
mirror/libbpf
1
0
Fork 0
You've already forked libbpf
mirror of https://github.com/netdata/libbpf.git synced 2026-04-05 16:19:06 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
ac86f42e4abfee4e8a047a8f96f37b53d6a0b5a0
libbpf/travis-ci/vmtest/prepare_selftests-4.9.0.sh

4 lines
86 B
Bash
Raw Normal View History

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>
2020-12-04 13:46:32 -08:00
#!/bin/bash
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>
2020-12-18 12:28:52 -08:00
printf "all:\n\ttouch bpf_testmod.ko\n\nclean:\n" > bpf_testmod/Makefile
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 30ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API 粤ICP备2023071974号-5