openwrt/package/kernel/bpf-headers
Hauke Mehrtens 9ee56abb0d bpf-headers: select the target kernel timer frequency
Fixed-HZ targets such as AT91 set CONFIG_HZ without setting a
CONFIG_HZ_<value> choice. The MIPS configuration used for BPF headers
then defaults to 250 Hz, while timeconst.h is generated at the target
frequency. Including linux/jiffies.h fails when those values differ.

Derive the MIPS Kconfig choice from the target CONFIG_HZ value so
both generated headers use the same frequency.

Tested by rebuilding bpf-headers and unetd for AT91 sam9x.

Assisted-by: LLM
Link: https://github.com/openwrt/openwrt/pull/26878
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-11-24 23:41:52 +01:00
..
files
…
patches
…
src/include/generated
…
Makefile bpf-headers: select the target kernel timer frequency 2026-11-24 23:41:52 +01:00