1 From 668d1c2951e18512a27aec20b80dea627d01bf04 Mon Sep 17 00:00:00 2001
2 From: Tony Ambardar <Tony.Ambardar@gmail.com>
3 Date: Thu, 20 Aug 2020 16:05:48 -0700
4 Subject: [PATCH] tools/bpftool: allow passing BPFTOOL_VERSION to make
6 Signed-off-by: Tony Ambardar <Tony.Ambardar@gmail.com>
8 tools/bpf/bpftool/Makefile | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 --- a/tools/bpf/bpftool/Makefile
12 +++ b/tools/bpf/bpftool/Makefile
13 @@ -25,7 +25,7 @@ endif
15 LIBBPF = $(LIBBPF_PATH)libbpf.a
17 -BPFTOOL_VERSION := $(shell make -rR --no-print-directory -sC ../../.. kernelversion)
18 +BPFTOOL_VERSION ?= $(shell make -rR --no-print-directory -sC ../../.. kernelversion)
21 $(if $(LIBBPF_OUTPUT),@mkdir -p $(LIBBPF_OUTPUT))