Bug#975571: linux: No rule to make target 'scripts/module.lds' while building out-of-tree modules
Source: linux
Version: 5.10~rc4-1~exp1
Severity: important
Hi,
building out-of-tree modules againt Linux 5.10 headers in experimental fails with
No rule to make target 'scripts/module.lds', needed by '/path/to/module.ko'. Stop.
e.g.
make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/r8168/8.048.03/build/r8168.ko'. Stop.
make[4]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/bbswitch/0.8/build/bbswitch.ko'. Stop.
make[5]: *** No rule to make target 'scripts/module.lds', needed by '/usr/src/modules/nvidia-kernel/nvidia-drm.ko'. Stop.
Andreas
Reply to: