diff options
author | Leah Woods <info@minifree.org> | 2016-05-21 06:13:22 (EDT) |
---|---|---|
committer | Leah Woods <info@minifree.org> | 2016-05-21 06:13:22 (EDT) |
commit | 407f70f2f5d4834297f73b76b2ef5721e66ac90e (patch) | |
tree | 5753c434699e35aa56e75485a1cd7e2dbad55eaa /resources/scripts/helpers/build/roms/withgrub_helper | |
parent | 095361ebf35d542493e486ea6cce85daa86d216e (diff) | |
download | libreboot-407f70f2f5d4834297f73b76b2ef5721e66ac90e.zip libreboot-407f70f2f5d4834297f73b76b2ef5721e66ac90e.tar.gz libreboot-407f70f2f5d4834297f73b76b2ef5721e66ac90e.tar.bz2 |
All board: payload now named payload.elf
Diffstat (limited to 'resources/scripts/helpers/build/roms/withgrub_helper')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub_helper | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper index d518e75..f558966 100755 --- a/resources/scripts/helpers/build/roms/withgrub_helper +++ b/resources/scripts/helpers/build/roms/withgrub_helper @@ -68,8 +68,7 @@ git checkout ${branchname} ) # Make sure to remove these first -rm -f "grub."*{elf,cfg} -rm -f "seabios"*.elf +rm -f *.{elf,cfg} printf 'libreboot-%s\n' "${version}" > ".coreboot-version" # needed for reproducible builds in coreboot @@ -110,12 +109,12 @@ do make clean mv "config_${romtype}" ".config" cp "../../grub_${romtype}.elf" "grub.elf" - cp "../../../seabios/out/bios.bin.elf" "seabios.elf" + cp "../../../seabios/out/bios.bin.elf" "payload.elf" make -j${cores} mv "build/coreboot.rom" "${boardtarget}_${romtype}.rom" # We dont need seabios.elf anymore - rm -f "seabios.elf" + rm -f "payload.elf" # Add the grub.elf to CBFS ./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-payload -c lzma -f grub.elf -n img/grub2 |