1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/include
Christian Marangi fc221b065a
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>
2024-05-03 14:53:11 +02:00
..
site
autotools.mk
bpf.mk bpf: fix broken inclusion of system include 2024-05-03 14:53:11 +02:00
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk download: don't overwrite VERSION variable 2024-04-29 08:39:25 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk host-build: fix stampfile name substitution per installed binaries 2024-04-25 21:33:51 +02:00
image-commands.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
image.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
kernel-6.6 kernel: bump 6.6 to 6.6.29 2024-04-28 21:51:03 +02:00
kernel-build.mk
kernel-defaults.mk
kernel-version.mk
kernel.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
logo.png
logo.svg
meson.mk tools/meson: static host and both libraries 2024-03-29 23:42:22 +01:00
netfilter.mk
nls.mk
openssl-module.mk
package-bin.mk
package-defaults.mk treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk
prereq-build.mk
prereq.mk
quilt.mk
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk
trusted-firmware-a.mk
u-boot.mk u-boot.mk: override default PATH to avoid pick hostpkg python 2024-03-02 14:17:31 +01:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00