kpatch/kpatch-build
Seth Jennings b98fafcfb2 restructure building process
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>
2014-08-07 17:25:05 -05:00
..
insn insn: get it to compile in create-diff-object 2014-05-30 15:19:57 -05:00
create-diff-object.c compare __func__ references by value 2014-08-04 13:17:18 -05:00
kpatch-build restructure building process 2014-08-07 17:25:05 -05:00
kpatch-gcc restructure building process 2014-08-07 17:25:05 -05:00
list.h create-diff-object: create __mcount_loc section 2014-07-01 08:29:37 -05:00
lookup.c exclude UNDEF global syms from lookup_global_symbol 2014-06-02 20:34:37 -05:00
lookup.h merge add-patches-section functionality into create-obj-diff 2014-05-20 12:44:30 -05:00
Makefile restructure building process 2014-08-07 17:25:05 -05:00