Files
Paul Spooren eeb50d1052 v4l2loopback: build through KERNEL_MAKE
kmod-v4l2loopback differs between builds, e.g. on apm821xx/nand, as
v4l2loopback.ko carries the absolute path of the kernel tree:

  /builder/shared-workdir/build/build_dir/.../linux-6.18.52/include/linux/ucopysize.h

The module is built by calling make -C $(LINUX_DIR) directly, so none
of the OpenWrt prefix maps apply, and since Linux 6.13 kbuild includes
the kernel headers of external modules by their absolute path.

Build through $(KERNEL_MAKE), which passes KERNEL_MAKE_FLAGS and with
them the prefix maps of the build and staging directories, like the
kernel packages of the main repository do. ARCH and CROSS_COMPILE come
with KERNEL_MAKE_FLAGS as well.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2026-09-30 11:40:34 +02:00
..