summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/preload/.gitignore
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2020-09-27 21:30:05 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-09-29 11:15:01 -0700
commit9d9aae53b96d0659e9085221453e48b7df9edbed (patch)
tree247eb09f4d7bb430324b09bd3786c87197537a1b /kernel/bpf/preload/.gitignore
parent3aae4a38068a5a4fe1c7731eedf26a8a5f588732 (diff)
downloadlinux-9d9aae53b96d0659e9085221453e48b7df9edbed.tar.bz2
bpf/preload: Make sure Makefile cleans up after itself, and add .gitignore
The Makefile in bpf/preload builds a local copy of libbpf, but does not properly clean up after itself. This can lead to subsequent compilation failures, since the feature detection cache is kept around which can lead subsequent detection to fail. Fix this by properly setting clean-files, and while we're at it, also add a .gitignore for the directory to ignore the build artifacts. Fixes: d71fa5c9763c ("bpf: Add kernel module with user mode driver that populates bpffs.") Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200927193005.8459-1-toke@redhat.com
Diffstat (limited to 'kernel/bpf/preload/.gitignore')
-rw-r--r--kernel/bpf/preload/.gitignore4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/bpf/preload/.gitignore b/kernel/bpf/preload/.gitignore
new file mode 100644
index 000000000000..856a4c5ad0dd
--- /dev/null
+++ b/kernel/bpf/preload/.gitignore
@@ -0,0 +1,4 @@
+/FEATURE-DUMP.libbpf
+/bpf_helper_defs.h
+/feature
+/bpf_preload_umd