mirror of
https://github.com/dynup/kpatch
synced 2025-02-21 04:16:54 +00:00
Setting KCFLAGS="-ffunction-sections -fdata-sections" causes make to invalidate all the kernel objects, resulting in all the objects getting rebuilt on the next pass, thus no build caching. To fix that, build the objects in a separate directory (obj) for normal builds, and another separate directory (obj2) for the builds with added cflags. |
||
---|---|---|
.. | ||
add-patches-section.c | ||
create-diff-object.c | ||
kpatch-build | ||
link-vmlinux-syms.c | ||
Makefile |