Skip to content

Commit

Permalink
traffic-pacing-edt: Propagate define that enables BTF maps
Browse files Browse the repository at this point in the history
Two errors:
- Wrong define in config.mk
- Use BPF_CFLAGS to reach llvm compile cflags

Signed-off-by: Jesper D. Brouer <[email protected]>
  • Loading branch information
netoptimizer committed Dec 22, 2020
1 parent 39ab41d commit 904c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic-pacing-edt/configure
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ check_tc_libbpf()
if echo $tc_version | grep -q libbpf; then
libbpf_version=${tc_version##*libbpf }
echo "HAVE_TC_LIBBPF:=y" >> $CONFIG
echo "CFLAGS += -DHAVE_LIBBPF" >> $CONFIG
echo "BPF_CFLAGS += -DHAVE_TC_LIBBPF" >> $CONFIG
echo "yes ($libbpf_version)"
else
echo "no"
Expand Down

0 comments on commit 904c820

Please sign in to comment.