diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-12-06 16:36:18 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-12-06 16:36:18 (EST) |
commit | 7f1f030f716488cac29e3573695f4b51ef8447b7 (patch) | |
tree | 5ceb351df870f206458c39c191f5e232743b330f /resources/scripts/helpers/build | |
parent | 757634917b10c07228b15bbd905d45d5ad382820 (diff) | |
download | libreboot-7f1f030f716488cac29e3573695f4b51ef8447b7.zip libreboot-7f1f030f716488cac29e3573695f4b51ef8447b7.tar.gz libreboot-7f1f030f716488cac29e3573695f4b51ef8447b7.tar.bz2 |
build/roms/withgrub: use user-supplied gm45 mac address if given
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 6 |
1 files changed, 5 insertions, 1 deletions
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 |