From 24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 05 Nov 2015 19:31:16 -0500 Subject: roms/withgrub_helper: Create correct ROM layouts find bin/grub [...] also searches other boards' ROMs and thus would print a ROM layout not neccessarily belonging to the same board images got built for. --- (limited to 'resources') diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper index dea7fa6..07dd5c2 100755 --- a/resources/scripts/helpers/build/roms/withgrub_helper +++ b/resources/scripts/helpers/build/roms/withgrub_helper @@ -148,4 +148,7 @@ rm -f "lbversion" # go back to main source directory cd "../" +# create ROM image layout to allow flashing specific regions only +./coreboot/util/ifdtool/ifdtool -f bin/grub/${boardtarget}/rom.layout $(find bin/grub/${boardtarget} -type f -name "*.rom" -print -quit) + printf "\n\n" -- cgit v0.9.1