mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-16 09:10:38 +00:00
Release Notes: - https://github.com/libbpf/bpftool/releases/tag/v7.6.0 Link: https://github.com/openwrt/openwrt/pull/20846 Signed-off-by: Nick Hainke <vincent@systemli.org>
16 lines
505 B
Diff
16 lines
505 B
Diff
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -72,10 +72,10 @@ CFLAGS += -Wno-missing-field-initializer
|
|
CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
|
|
CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
|
|
-I$(or $(OUTPUT),.) \
|
|
- -I$(LIBBPF_INCLUDE) \
|
|
-I$(srctree)/src/kernel/bpf/ \
|
|
-I$(srctree)/include \
|
|
- -I$(srctree)/include/uapi
|
|
+ -I$(srctree)/include/uapi \
|
|
+ -I$(LIBBPF_INCLUDE)
|
|
ifneq ($(BPFTOOL_VERSION),)
|
|
CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
|
|
endif
|