Makefile (280B)
1 # Build BPF target: 2 # * optimization level 2 required, unknown opcode 8d on bpftool prog load 3 # otherwise 4 # * include debugging symbols (-g) to pretty print map data with `pbftool map 5 # dump` 6 build: 7 clang \ 8 -target bpf \ 9 -O2 \ 10 -g \ 11 -o hello-xdp.bcc.o -c hello-xdp.bcc.c 12