diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-05-03 14:49:58 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-05-03 14:53:11 +0200 |
commit | fc221b065a94dbd9c11218a777a86c1bcdc69ee5 (patch) | |
tree | c0caffba785773b4631fe86200fd1145d2f80722 /include/kernel-6.6 | |
parent | 23de46c913912cf8695328e966bc47cc57a6e09f (diff) | |
download | openwrt-fc221b065a94dbd9c11218a777a86c1bcdc69ee5.tar.gz openwrt-fc221b065a94dbd9c11218a777a86c1bcdc69ee5.tar.bz2 openwrt-fc221b065a94dbd9c11218a777a86c1bcdc69ee5.zip |
bpf: fix broken inclusion of system include
Commit d82c5884c616 ("treewide: make use of new toolchain define")
changed $(TOOLCHAIN_DIR)/include to the new variable
$(TOOLCHAIN_INC_DIRS) that now can contain multiple entry.
Because of this only the first include in $(TOOLCHAIN_INC_DIRS) was
actually included with -isystem, making the other producing warning with
ignored inputs.
Fix this by parsing each entry in $(TOOLCHAIN_INC_DIRS) and adding the
-isystem prefix to correctly include them in the BPF_KERNEL_INCLUDE.
Fixes: d82c5884c616 ("treewide: make use of new toolchain define")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'include/kernel-6.6')
0 files changed, 0 insertions, 0 deletions