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
..
2023-05-28 13:19:10 +02:00
2021-02-05 14:54:47 +01:00
2024-04-08 21:53:05 +02:00
2024-04-16 23:11:25 +02:00
2024-04-30 20:18:15 +02:00
2024-04-28 21:51:03 +02:00
2024-04-08 21:53:05 +02:00
2023-02-18 17:12:30 +01:00
2022-11-27 00:52:06 +01:00
2023-04-05 08:24:49 -03:00
2023-05-28 13:19:10 +02:00
2021-10-24 18:20:50 +02:00
2024-04-08 21:53:05 +02:00