summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config/seabiosupdate
diff options
context:
space:
mode:
authorLeah Woods <info@minifree.org>2016-05-19 22:25:09 (EDT)
committer Leah Woods <info@minifree.org>2016-05-19 22:35:28 (EDT)
commitb1ff016f3f422c47b5c65a4d3ebfc449f1fd5743 (patch)
treec5aca46c20b562f190a93f399670b1361090959a /resources/scripts/helpers/build/config/seabiosupdate
parent870be408e848aa884f8bcc6c2213cb31e4cd2615 (diff)
downloadlibreboot-b1ff016f3f422c47b5c65a4d3ebfc449f1fd5743.zip
libreboot-b1ff016f3f422c47b5c65a4d3ebfc449f1fd5743.tar.gz
libreboot-b1ff016f3f422c47b5c65a4d3ebfc449f1fd5743.tar.bz2
Don't use SeaVGABIOS on systems that use SeaGRUB
Diffstat (limited to 'resources/scripts/helpers/build/config/seabiosupdate')
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosupdate17
1 files changed, 12 insertions, 5 deletions
diff --git a/resources/scripts/helpers/build/config/seabiosupdate b/resources/scripts/helpers/build/config/seabiosupdate
index d15a063..94dfd1d 100755
--- a/resources/scripts/helpers/build/config/seabiosupdate
+++ b/resources/scripts/helpers/build/config/seabiosupdate
@@ -28,9 +28,16 @@ set -u -e
(
cd seabios/
-if [ -f ../resources/seabios/config/config ]; then
- cp ../resources/seabios/config/config .config
- make oldconfig
- mv .config ../resources/seabios/config/config
-fi
+for cfgtype in config config_vga; do
+
+ printf "doing config %s\n" "${cfgtype}"
+ sleep 2
+
+ if [ -f ../resources/seabios/config/${cfgtype} ]; then
+ cp ../resources/seabios/config/${cfgtype} .config
+ make oldconfig
+ mv .config ../resources/seabios/config/${cfgtype}
+ fi
+
+done
)