aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/bpftools/patches/002-includes.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-02-25 22:21:15 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-05 19:23:42 +0100
commit26a65e852c5bd8e586205ce8dff582de623cb566 (patch)
tree109992819e23ba09f14e575be8dfe8595ef057c0 /package/network/utils/bpftools/patches/002-includes.patch
parentd650ca9247d84b23d84ece38a3aa3114af6f0577 (diff)
downloadupstream-26a65e852c5bd8e586205ce8dff582de623cb566.tar.gz
upstream-26a65e852c5bd8e586205ce8dff582de623cb566.tar.bz2
upstream-26a65e852c5bd8e586205ce8dff582de623cb566.zip
bpftool: Update to version 7.1.0
bpftool changelog: https://github.com/libbpf/bpftool/releases libbpf changelog: https://github.com/libbpf/libbpf/releases This updates the bfptool to version 7.1.0. This also includes an update of the libbpf to version 1.1. This also adds some new feature options and removes some old ones which were also removed form the source code. zlib for example is now mandatory. Add -flto also to LD flags to make it really work. Before this change bpftool was on a git commit between version 6.7 and 6.8 and libbpf was on a commit between version 0.7 and 0.8. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/network/utils/bpftools/patches/002-includes.patch')
-rw-r--r--package/network/utils/bpftools/patches/002-includes.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/bpftools/patches/002-includes.patch b/package/network/utils/bpftools/patches/002-includes.patch
index 589d71c31e..ac1b5fcc22 100644
--- a/package/network/utils/bpftools/patches/002-includes.patch
+++ b/package/network/utils/bpftools/patches/002-includes.patch
@@ -14,7 +14,7 @@
@@ -73,10 +73,10 @@ CFLAGS += -W -Wall -Wextra -Wno-unused-p
CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
- -I$(if $(OUTPUT),$(OUTPUT),.) \
+ -I$(or $(OUTPUT),.) \
- -I$(LIBBPF_INCLUDE) \
-I$(srctree)/src/kernel/bpf/ \
-I$(srctree)/include \