Skip to contentSkip to conversation

bpf, libbpf: Add .so files to gitignore

PATCH In review Michal Rostecki 2 participants 3 messages May 2, 2019 – May 6, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bpf, libbpf: Add .so files to gitignore

This change adds libbpf shared libraries to .gitignore which were previously not included there.

---
 tools/lib/bpf/.gitignore | 1 +
 1 file changed, 1 insertion(+)
tools/lib/bpf/.gitignore +1 -0
index 7d9e182a1f51..0b181b23f97d 100644
@@ -1,4 +1,5 @@
 libbpf_version.h
 libbpf.pc
+libbpf.so.0*
 FEATURE-DUMP.libbpf
 test_libbpf
Signature · 1 line
2.21.0
#1 lore raw
Quoted 15 lines · Michal Rostecki

This change adds libbpf shared libraries to .gitignore which were previously not included there.

---
 tools/lib/bpf/.gitignore | 1 +
 1 file changed, 1 insertion(+)
tools/lib/bpf/.gitignore +0 -0
index 7d9e182a1f51..0b181b23f97d 100644

tools/lib/bpf/.gitignore line 3

Quoted 3 lines
tools/lib/bpf/.gitignore +1 -0
@@ -1,4 +1,5 @@
 libbpf_version.h
 libbpf.pc
+libbpf.so.0*

Some folks build libbpf as part of selftests.
Please update .gitignore in tools/lib/bpf and
in tools/testing/selftests/bpf

Also instead of "bpf, libbpf:" subj prefix just mention "libbpf:"

#2 lore raw

Am 2019-05-05 09:03, schrieb Alexei Starovoitov:

Quoted 5 lines

Some folks build libbpf as part of selftests.
Please update .gitignore in tools/lib/bpf and
in tools/testing/selftests/bpf

Also instead of "bpf, libbpf:" subj prefix just mention "libbpf:"

Thanks for your review!

I noticed that in the meantime the .gitignore file in tools/lib/bpf was fixed by the other commit (39391377f8ec). Now I need to fix only .gitignore in tools/testing/selftests/bpf (where I need to add even more files, because some test program binaries are not included too). I will send a patch for that later today.