On Wed, Aug 09, 2017 at 09:28:12AM +0200, Juerg Haefliger wrote:
> Is there a specific reason why we're using
> unset KPATCH_GCC_TEMPDIR
> CROSS_COMPILE="$TOOLSDIR/kpatch-gcc " make ...
> to build the original kernel? This doesn't seem to do anything special
> unless I'm missing something.
Good question. If I remember right, it's for compile speed. Otherwise,
when building the patched kernel, make will notice the compiler binary
changed and it will rebuild everything.
It would be good to have a comment there. Pull requests welcome ;-)
kpatch mailing list