From 7f1f030f716488cac29e3573695f4b51ef8447b7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 6 Dec 2015 21:36:18 +0000 Subject: build/roms/withgrub: use user-supplied gm45 mac address if given --- resources/scripts/helpers/build/roms/withgrub | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 3a77f828..4aa691b3 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 v1.2.3-70-g09d2