summaryrefslogtreecommitdiff
path: root/src/ebpf/Makefile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-18 17:13:13 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-19 21:56:19 +0100
commitb5c80d310527223b93e4133ac2f4c8c063c70a98 (patch)
tree48ae9e2752b4b94c07f767a019c99a8c2460c014 /src/ebpf/Makefile
parent22308b05dfbcd8da0230bbd8ba3bbc2a55da7786 (diff)
downloadvyos-1x-b5c80d310527223b93e4133ac2f4c8c063c70a98.tar.gz
vyos-1x-b5c80d310527223b93e4133ac2f4c8c063c70a98.zip
xdp: T2666: switch to example code provided by xdp-tutorial
Diffstat (limited to 'src/ebpf/Makefile')
-rw-r--r--src/ebpf/Makefile16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ebpf/Makefile b/src/ebpf/Makefile
deleted file mode 100644
index 5b80c32d7..000000000
--- a/src/ebpf/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#clang -target bpf -O2 -c xdp-drop-ebpf.c -o xdp-drop-ebpf.o
-
-src = $(wildcard *.c)
-obj = $(src:.c=.o)
-CLANG = clang
-CFLAGS = -Wall -Wno-unused-value -Wno-pointer-sign -Wno-compare-distinct-pointer-types -Werror -O2
-
-%.o: %.c
- $(CLANG) -target bpf $(CFLAGS) -o $@ -c $<
-
-.PHONY: all
-all: $(obj)
-
-.PHONY: clean
-clean:
- rm -f *.o