Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elfloader: Add ElfloaderPrecompile option
This option generates an intermediate build file, elfloader.o, that can be combined in a separate build step with an archive.o containing the cpio archive with the kernel and rootserver images to load. This enables the elfloader to be installed by copying the elfloader.o and generated linker file to an install location and a future build step can link with a supplied archive.o into a bootable elfloader image using something like: aarch64-unknown-linux-gnu-gcc -march=armv8-a elfloader.o archive.o \ -o elfloader -Wl,-T linker.lds_pp -nostdlib -static -lgcc Signed-off-by: Kent McLeod <[email protected]>
- Loading branch information