summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config/corebootupdate
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/config/corebootupdate')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootupdate9
1 files changed, 7 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/config/corebootupdate b/resources/scripts/helpers/build/config/corebootupdate
index 2261148..4e4db74 100755
--- a/resources/scripts/helpers/build/config/corebootupdate
+++ b/resources/scripts/helpers/build/config/corebootupdate
@@ -26,12 +26,17 @@
set -u -e
cd resources/libreboot/config/
-configs=$(ls)
+
+if [ $# -lt 1 ]; then
+ configs=$(ls)
+else
+ configs=$@
+fi
cd ../../../coreboot/
for config in $configs; do
printf "Updating config for $config\n"
- sleep 2
+ sleep 5
mv ../resources/libreboot/config/$config/config .config
make oldconfig