Re: [PATCH v7 00/10] livepatch: klp-convert tool

Alexey Dobriyan
2023-04-01T09:59:33Z

On Fri, Mar 31, 2023 at 12:03:52PM -0400, Joe Lawrence wrote:
> On 3/30/23 13:04, Alexey Dobriyan wrote:
> > This patchset somehow breaks the build of the simplest livepatch module:
> >
> > make -f linux/linux-1/scripts/Makefile.modfinal
> > make[1]: *** No rule to make target 'linux/module-klp/main.tmp.ko', needed by 'linux/module-klp/main.ko'. Stop.
> >
>
> Thanks for testing.
>
> Presumably this is an out-of-tree livepatch module? If so, that is
> still on the TODO list. If not, that is weird as the patchset itself
> includes updates to samples/ and lib/ livepatches that build and load fine.

Yes, this is external module.

make doesn't see this implicit rule despite it is hiding in the open:

+%.tmp.ko: %.o %.mod.o symbols.klp FORCE
+ +$(call if_changed,ld_ko_o)