summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/roms/withgrub
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-03-01 17:18:44 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-03-01 17:18:44 (EST)
commit36ec6f326b04f46826a4a90474820c3da3685ddd (patch)
treeb8149cb225d308aec437450e4214d87783ec768d /resources/scripts/helpers/build/roms/withgrub
parent5dea740f8a8bf2461b6eb315fd59d66b9208ac9e (diff)
downloadlibreboot-36ec6f326b04f46826a4a90474820c3da3685ddd.zip
libreboot-36ec6f326b04f46826a4a90474820c3da3685ddd.tar.gz
libreboot-36ec6f326b04f46826a4a90474820c3da3685ddd.tar.bz2
build/roms/withgrub: Only run ich9gen if gm45/gs45 images exist
Diffstat (limited to 'resources/scripts/helpers/build/roms/withgrub')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 23e6d76..f81da2d 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -95,23 +95,23 @@ done
# Then put them in the ROM images.
if [ -d bin/ ]; then
cd bin/
- ../resources/utilities/ich9deblob/ich9gen
for board in "x200" "r400"
do
for romsize in "4m" "8m"
do
if [ -d "$board"_"$romsize"b/ ]; then
cd "$board"_"$romsize"b/
+ ../../resources/utilities/ich9deblob/ich9gen
for rom in $(ls)
do
- dd if=../ich9fdgbe_"$romsize".bin of="$rom" bs=1 count=12k conv=notrunc
+ dd if=ich9fdgbe_"$romsize".bin of="$rom" bs=1 count=12k conv=notrunc
done
+ rm -f ich9fdgbe_4m.bin
+ rm -f ich9fdgbe_8m.bin
cd ../
fi
done
done
- rm -f ich9fdgbe_4m.bin
- rm -f ich9fdgbe_8m.bin
cd ../
fi