Start traffic-pacing-edt example

Signed-off-by: Jesper Dangaard Brouer <netoptimizer@brouer.com>
This commit is contained in:
Jesper Dangaard Brouer
2020-11-08 11:31:55 +01:00
committed by Jesper Dangaard Brouer
parent bf1c03c959
commit f4846b8297

View File

@@ -0,0 +1,20 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
USER_TARGETS :=
BPF_TARGETS := pacer01
LIB_DIR = ../lib
include $(LIB_DIR)/common.mk
# The iproute2 'tc' tool doesn't understand BTF debug info
# use llvm-strip to remove this debug info from object file
#
# *BUT* cannot strip everything as it removes ELF elems needed for
# creating maps
#
.PHONY: strip_tc_obj
strip_tc_obj: ${BPF_TARGETS :=.o}
$(Q) llvm-strip --no-strip-all --remove-section .BTF $?
all: strip_tc_obj