summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config/seabiosmodify
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/config/seabiosmodify')
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosmodify17
1 files changed, 12 insertions, 5 deletions
diff --git a/resources/scripts/helpers/build/config/seabiosmodify b/resources/scripts/helpers/build/config/seabiosmodify
index 08ec50e..c6841e4 100755
--- a/resources/scripts/helpers/build/config/seabiosmodify
+++ b/resources/scripts/helpers/build/config/seabiosmodify
@@ -28,11 +28,18 @@ set -u -e
(
cd "seabios/"
-if [ -f "../resources/seabios/config/config" ]; then
- cp "../resources/seabios/config/config" ".config"
-fi
+for cfgtype in config config_vga; do
-make menuconfig
+ printf "doing config %s\n" "${cfgtype}"
+ sleep 2
-mv ".config" "../resources/seabios/config/config"
+ if [ -f "../resources/seabios/config/${cfgtype}" ]; then
+ cp "../resources/seabios/config/${cfgtype}" ".config"
+ fi
+
+ make menuconfig
+
+ mv ".config" "../resources/seabios/config/${cfgtype}"
+
+done
)