openwrt/package/network/utils
Christian Marangi 5acc4f919c
xdp-tools: fix compilation wrongly using host header
Currently it's needed to have gcc-multilib on the host to correctly
compile xdp-tools. This is wrong and means that we are using host header
to compile a tool.

By some searching in how the makefile works it was discovered that
BPF_CFLAGS were not used and required to be appended to config.mk

Only one single header was added but we should include each BPF_CFLAGS
from bpf.mk. To make this some patching to bpf-header were required and
some patches to xdp-tools were required.
Also it's needed to pass the correct target to BPF_CFLAGS.

With the following changes xdp-tools can correctly compile with each
header from bpf-headers and should not use any host header.

Co-Developed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Andre Heider <a.heider@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/11825
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-05-01 19:11:34 +02:00
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 2017-05-27 07:54:40 +02:00
arptables build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
bpftool bpftool: Update to v7.4.0 2024-04-13 11:20:41 +02:00
comgt ncm: add sourcefilter option support 2024-04-17 12:34:27 +08:00
ebtables treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
ethtool ethtool: update to 6.6 2023-12-12 14:34:11 +01:00
iproute2 iproute2: update to 6.7.0 2024-01-25 16:08:25 +01:00
ipset ipset: update to 7.21 2024-04-17 12:14:20 +08:00
iptables package/network/utils/iptables: fix PKG_CPE_ID 2024-04-27 23:44:48 +02:00
iw packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
layerscape/restool treewide: package: update missed hashes after switch to ZSTD 2024-04-07 14:56:04 +02:00
linux-atm linux-atm: use target specific kernel headers 2023-10-05 10:31:39 +02:00
ltq-dsl-base ltq-dsl-base: enable for ipq40xx 2023-01-16 23:41:41 +00:00
nftables nftables: update to 1.0.9 2023-10-20 14:42:31 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds rssileds: bump PKG_RELEASE due to libiwinfo ABI change 2023-01-23 13:55:42 +01:00
tcpdump tcpdump: update to 4.99.4 2023-04-17 15:32:48 +08:00
umbim mbim: add sourcefilter option support 2024-04-17 12:34:27 +08:00
uqmi uqmi: set dangling-pointer as error 2024-04-28 23:51:19 +02:00
wireguard-tools wireguard-tools: avoid redundant jsonfilter calls 2024-01-23 09:19:35 +01:00
wireless-tools wireless-tools: add package CPE ID 2022-10-19 21:40:23 +02:00
wpan-tools wpan-tools: update to 0.9 2022-07-10 18:16:34 +02:00
wwan treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
xdp-tools xdp-tools: fix compilation wrongly using host header 2024-05-01 19:11:34 +02:00