diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-22 00:25:32 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-22 00:25:32 (EST) |
commit | 662c5841bd88979bf772be0c76d3163a5d21b69d (patch) | |
tree | 5e68f0aeb2c57a5f3007d5f65f5bb7fc993e599b /buildrom-withgrub | |
parent | b8a8ee8b1b99e3c3c36261a548e509a1e3fa58bf (diff) | |
download | libreboot-662c5841bd88979bf772be0c76d3163a5d21b69d.zip libreboot-662c5841bd88979bf772be0c76d3163a5d21b69d.tar.gz libreboot-662c5841bd88979bf772be0c76d3163a5d21b69d.tar.bz2 |
Only build 2 GRUB payload executables, re-use on all boards.
This should speed up the build process a bit.
Diffstat (limited to 'buildrom-withgrub')
-rwxr-xr-x | buildrom-withgrub | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub index ac1888f..99af39f 100755 --- a/buildrom-withgrub +++ b/buildrom-withgrub @@ -41,18 +41,12 @@ sed 's/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/CONFIG_FRAMEBUFFER_KEEP_VE for romtype in txtmode vesafb do - # Build the GRUB payload (ELF executable) - # and add it to coreboot directory: - cd ../resources/utilities/grub-assemble - ./gen."$romtype".sh - rm -rf ../../../coreboot/grub.elf - mv grub.elf ../../../coreboot/ - cd ../../../coreboot - # Build coreboot ROM image make clean mv config_"$romtype" .config + mv grub_"$romtype".elf grub.elf make + mv grub.elf grub_"$romtype".elf mv build/coreboot.rom "$1"_"$romtype".rom # .config no longer needed rm -rf .config |