ImmortalWrt/package/kernel/bpf-headers
Hauke Mehrtens a15eb1cda0 bpf-headers: Fix download URL with kernel 6.1
This fixes the download of the kernel 5.15 for the bpf-headers when
kernel 6.1 is build for the target.

Even if kernel 6.1 was selected for the target we still use kernel 5.15
for the bpf-headers. The download script tried to download the 5.15
kernel from the 6.x directory on kernel,org and this failed. Define
PKG_SOURCE_URL based on PKG_PATCHVER and not KERNEL_BASE like done in
kernel.mk.

Without this change it tries to download the kernel from this URL:
ttps://cdn.kernel.org/pub/linux/kernel/v6.x/linux-5.15.129.tar.xz

Fixes: #13190
Fixes: #13671
Fixes: #13814
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-11-06 23:20:14 +01:00
..
files bpf-headers: ship a modified version of stdarg.h from musl to fix ebpf build on glibc 2022-03-07 10:38:41 +01:00
patches bpf-headers: support CONFIG_HZ=300 2022-04-01 15:26:08 +02:00
src/include/generated
Makefile bpf-headers: Fix download URL with kernel 6.1 2023-11-06 23:20:14 +01:00