From 36ec6f326b04f46826a4a90474820c3da3685ddd Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 01 Mar 2015 17:18:44 -0500 Subject: build/roms/withgrub: Only run ich9gen if gm45/gs45 images exist --- (limited to 'resources/scripts/helpers/build/roms/withgrub') 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 -- cgit v0.9.1