On Sat, Apr 24, 2021 at 10:26 PM David F. <df7729@xxxxxxxxx> wrote: > > Hello, > > I moved to 5.10 from 5.4 now I have build problem: > > "No rule to make target '/path/to/sourcefile.o', needed by '/path/to/lib.a' Stop > > The build will build a small library file of shared driver support > routines, but it doesn't appear the build will support a library > anymore? Is there a patch for that? > > There was a patch that fix a prior problem of linking to a lib.a file: > > Subject: Moving from 4.x to 5.4.22 breaks custom module build. > > Is there a fix for this new issue? > > Thanks. I think you asked the same question before, and you found a patch. https://patchwork.kernel.org/project/linux-kbuild/patch/20200106032324.3147-1-masahiroy@xxxxxxxxxx/#23088533 Doesn't this solve your problem? -- Best Regards Masahiro Yamada