mirror of
https://github.com/dynup/kpatch
synced 2025-01-18 02:50:49 +00:00
b2f40b03ce
While adding proper linker script option my previous patch left the
linker script in the list of source files (on pre-4.20 kernels) for
ld somehow breaking kpatch callback sections. For this to work
properly kpatch.lds needs to be added to 'extra-y' instead of objs. And
for kbuild to process this option properly we need to call make without
the .ko target, i.e. let kbuild decide what to build.
Fixes:
|
||
---|---|---|
.. | ||
kpatch-macros.h | ||
kpatch-patch-hook.c | ||
kpatch-patch.h | ||
kpatch.h | ||
kpatch.lds.S | ||
livepatch-patch-hook.c | ||
Makefile | ||
patch-hook.c |