Search notes:

arch/x86/boot/tools/build

arch/x86/boot/tools/build is a tool to buld a disk-image (like arch/x86/boot/bzImage) from the following three files:
One of the tasks of arch/x86/boot/tools/build is to update some pre-reserved fields that are declared in arch/x86/boot/header.S (such as the size of the resulting bzImage, the address of the entry point).

See also

The source code for this tool is arch/x86/boot/tools/build.c

Index