2019-05-12 07:33:04

by Kelsey

[permalink] [raw]
Subject: [PATCH v2] selftests: bpf: Add files generated after build to .gitignore

The following files are generated after building /selftests/bpf/ and
should be added to .gitignore:

- libbpf.pc
- libbpf.so.*

Signed-off-by: Kelsey Skunberg <[email protected]>
---
Change since v1:
- Add libbpf.so.* in replace of libbpf.so.0 and
libbpf.so.0.0.3
- Update commit log to reflect file change

tools/testing/selftests/bpf/.gitignore | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index 41e8a689aa77..a877803e4ba8 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -32,3 +32,5 @@ test_tcpnotify_user
test_libbpf
test_tcp_check_syncookie_user
alu32
+libbpf.pc
+libbpf.so.*
--
2.20.1


2019-05-12 23:33:10

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH v2] selftests: bpf: Add files generated after build to .gitignore

On 05/12/2019 09:29 AM, Kelsey Skunberg wrote:
> The following files are generated after building /selftests/bpf/ and
> should be added to .gitignore:
>
> - libbpf.pc
> - libbpf.so.*
>
> Signed-off-by: Kelsey Skunberg <[email protected]>

Applied, thanks.