lede/package/kernel/bpf-headers
Miles Poupart 5ed3a14e0d
bpf-headers: Fix download URL with kernel 6.1 (#11794)
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:
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-5.15.129.tar.xz

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-01-17 08:09:51 +08:00
..
files toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
patches toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
src/include/generated toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
Makefile bpf-headers: Fix download URL with kernel 6.1 (#11794) 2024-01-17 08:09:51 +08:00