From 7f1f030f716488cac29e3573695f4b51ef8447b7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 06 Dec 2015 16:36:18 -0500 Subject: build/roms/withgrub: use user-supplied gm45 mac address if given --- (limited to 'resources/scripts/helpers') diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 3a77f82..4aa691b 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -113,7 +113,11 @@ if [ -d "bin/grub/" ]; then do if [ -d "${board}_${romsize}b/" ]; then cd "${board}_${romsize}b/" - ../../../resources/utilities/ich9deblob/ich9gen + if [ -f "gm45macaddress" ]; then + ../../../resources/utilities/ich9deblob/ich9gen --macaddress $(cat gm45macaddress) + else + ../../../resources/utilities/ich9deblob/ich9gen + fi for rom in * do if [ "${board}" = "r500" ]; then -- cgit v0.9.1