mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 06:57:57 +04:00
ltq-adsl-mei and ltq-deu call make directly after a cd into the kernel directory, and ltq-ifxos builds its module through autotools. None of them pass KERNEL_MAKE_FLAGS, so the module compile runs without the -ffile-prefix-map that iremap adds. WARN_ON_ONCE() in check_copy_size() expands to warn_slowpath_fmt(__FILE__, ...), so the absolute build path lands in the .ko. Measured on the published snapshot packages of lantiq/xway and xrx200_legacy: - drv_mei_cpe.ko holds /builder/shared-workdir/build/build_dir/target-mips_24kc_musl/linux-lantiq_xway/linux-6.18.52/include/linux/ucopysize.h - drv_ifxos.ko holds the same path for linux-lantiq_xrx200_legacy - ltq_atm_danube.ko, built with the flags, holds no such string The module size follows the length of the build path, so the apk record and every image that carries the module differ between two builds in different directories. ltq_deu_vr9.ko holds no such string today, but the package has the same defect. Pass the flags in the same way as ltq-atm and ltq-vdsl-vr9-mei already do. Signed-off-by: John Crispin <john@phrozen.org>