Move ebpf to top level

Do not build by default, as we are not using yet.

Clean up the gitignores at the same time as they were affected.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-02-01 10:58:16 +00:00
parent 64ba23d33f
commit 1dfa213db0
5 changed files with 10 additions and 16 deletions

12
ebpf/Makefile Normal file
View File

@@ -0,0 +1,12 @@
KERNEL_FILES=-C ../alpine/kernel/x86_64 kernel-headers.tar kernel-dev.tar kernel-modules.tar
default: ebpf.tag
ebpf.tag: Dockerfile
BUILD=$$( tar cf - $^ $(KERNEL_FILES) | docker build -q - ) && [ -n "$$BUILD" ] && echo "Built $$BUILD" && \
echo $$BUILD > $@
clean:
rm -f ebpf.tag
.DELETE_ON_ERROR: