diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-22 05:25:32 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-22 05:25:32 +0000 |
commit | 662c5841bd88979bf772be0c76d3163a5d21b69d (patch) | |
tree | 5e68f0aeb2c57a5f3007d5f65f5bb7fc993e599b /build | |
parent | b8a8ee8b1b99e3c3c36261a548e509a1e3fa58bf (diff) | |
download | librebootfr-662c5841bd88979bf772be0c76d3163a5d21b69d.tar.gz librebootfr-662c5841bd88979bf772be0c76d3163a5d21b69d.zip |
Only build 2 GRUB payload executables, re-use on all boards.
This should speed up the build process a bit.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -26,11 +26,28 @@ set -u -e -v # MAKE SURE THAT YOU RAN "buildall" OR "builddeps" *AT LEAST ONCE* # BEFORE RUNNING THIS! +# Build the GRUB payloads (ELF executable) +# and add them to the coreboot directory: +cd coreboot/ +for romtype in txtmode vesafb +do + cd ../resources/utilities/grub-assemble + ./gen."$romtype".sh + rm -rf ../../../coreboot/grub_"$romtype".elf + mv grub_"$romtype".elf ../../../coreboot/ + cd ../../../coreboot +done +cd ../ + # Build ROM images for supported boards for board in x60 t60 x60t macbook21 do ./buildrom-withgrub $board done +# The GRUB payloads are no longer needed +rm -rf coreboot/grub_vesafb.rom +rm -rf coreboot/grub_txtmode.rom + # ------------------- DONE ---------------------- |