summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config/corebootupdate
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-04 09:58:54 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-04 13:29:19 (EDT)
commitd4bee5d0fb8b8775af2a0da356fce9d3bf8104bb (patch)
treec8ec4fb54f059aa2386b2d6abccf45434b14be2c /resources/scripts/helpers/build/config/corebootupdate
parent5f69499262789d3adcb9b9422d3175a3008c6fc5 (diff)
downloadlibreboot-d4bee5d0fb8b8775af2a0da356fce9d3bf8104bb.zip
libreboot-d4bee5d0fb8b8775af2a0da356fce9d3bf8104bb.tar.gz
libreboot-d4bee5d0fb8b8775af2a0da356fce9d3bf8104bb.tar.bz2
Update coreboot + merge GM45 hybrid GPU patches
Also add power_on_after_fail to X200 and others (prevents the bug where the system would boot when connecting the AC adapter) (option in menuconfig to use CMOS/nvram settings is now enabled) Also NetDCDC is now the default USB debug dongle used (compatible with the BBB rev C). Add two new methods for managing coreboot configs: ./build config corebootreplace ./build config corebootmodify
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