mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 05:10:01 +00:00
b98fafcfb2
Right now, we do three build passes: one to build the original tree (full) build, one to build the patch tree (diff build), then one to rebuild original objects that where changed by the patch (diff build). This is going to be a problem when we try to support (near) full tree rebuilds due to changes in commonly included header files. This commit changes the build process to intercept calls to gcc by make using the CROSS_COMPILE environment variable and, during the patched build phase, copies the original object for any object that is about to rebuilt due to a change. This reduces the number of build passes to the minimum possible (two). Signed-off-by: Seth Jennings <sjenning@redhat.com> |
||
---|---|---|
.. | ||
insn | ||
create-diff-object.c | ||
kpatch-build | ||
kpatch-gcc | ||
list.h | ||
lookup.c | ||
lookup.h | ||
Makefile |