mirror of https://github.com/openwrt/openwrt.git
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> |
||
|---|---|---|
| .. | ||
| files | ||
| patches | ||
| src/include/generated | ||
| Makefile | ||