summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/roms
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper3
1 files changed, 3 insertions, 0 deletions
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"