summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-04 18:39:33 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-04 18:49:50 (EDT)
commitc136b69b4cc1e65b5aea333a727555e0a4ff2bab (patch)
tree1310b9c0f238f2a5bd3606afde5e253a79ed874e /resources/scripts/helpers/build/config
parent39354fba57f35c6f5a226deea7d71c4800a23676 (diff)
downloadlibreboot-c136b69b4cc1e65b5aea333a727555e0a4ff2bab.zip
libreboot-c136b69b4cc1e65b5aea333a727555e0a4ff2bab.tar.gz
libreboot-c136b69b4cc1e65b5aea333a727555e0a4ff2bab.tar.bz2
Update coreboot to the latest as of 4 August 2015
Diffstat (limited to 'resources/scripts/helpers/build/config')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootmodify10
-rwxr-xr-xresources/scripts/helpers/build/config/corebootreplace8
-rwxr-xr-xresources/scripts/helpers/build/config/corebootupdate10
3 files changed, 14 insertions, 14 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify
index 574e7ae..b71ff3e 100755
--- a/resources/scripts/helpers/build/config/corebootmodify
+++ b/resources/scripts/helpers/build/config/corebootmodify
@@ -25,7 +25,7 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-cd "resources/libreboot/config/"
+cd "resources/libreboot/config/grub/"
if [ $# -lt 1 ]; then
configs="$(ls)"
@@ -33,19 +33,19 @@ else
configs="$@"
fi
-cd "../../../coreboot/"
+cd "../../../../coreboot/"
for config in ${configs}; do
printf "Modifying config for %s\n" "${config}"
sleep 2
- if [ ! -d "../resources/libreboot/config/${config}/" ]; then
+ if [ ! -d "../resources/libreboot/config/grub/${config}/" ]; then
printf "build/config/corebootmodify WARNING: config '%s' does not exist. Skipping.\n" "${config}"
continue
fi
- mv "../resources/libreboot/config/${config}/config" ".config"
+ mv "../resources/libreboot/config/grub/${config}/config" ".config"
make menuconfig
- mv ".config" "../resources/libreboot/config/${config}/config"
+ mv ".config" "../resources/libreboot/config/grub/${config}/config"
done
cd "../"
diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace
index 4377ff2..5df5f77 100755
--- a/resources/scripts/helpers/build/config/corebootreplace
+++ b/resources/scripts/helpers/build/config/corebootreplace
@@ -25,7 +25,7 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-cd "resources/libreboot/config/"
+cd "resources/libreboot/config/grub/"
if [ $# -lt 1 ]; then
configs="$(ls)"
@@ -33,15 +33,15 @@ else
configs="$@"
fi
-cd "../../../coreboot/"
+cd "../../../../coreboot/"
for config in ${configs}; do
printf "Replacing or creating new config for %s\n" "${config}"
sleep 2
make menuconfig
- [ ! -d "../resources/libreboot/config/${config}/" ] && mkdir -p "../resources/libreboot/config/${config}/"
- mv ".config" "../resources/libreboot/config/${config}/config"
+ [ ! -d "../resources/libreboot/config/grub/${config}/" ] && mkdir -p "../resources/libreboot/config/grub/${config}/"
+ mv ".config" "../resources/libreboot/config/grub/${config}/config"
done
cd "../"
diff --git a/resources/scripts/helpers/build/config/corebootupdate b/resources/scripts/helpers/build/config/corebootupdate
index 6e4ad67..0ecf0eb 100755
--- a/resources/scripts/helpers/build/config/corebootupdate
+++ b/resources/scripts/helpers/build/config/corebootupdate
@@ -25,7 +25,7 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-cd "resources/libreboot/config/"
+cd "resources/libreboot/config/grub/"
if [ $# -lt 1 ]; then
configs="$(ls)"
@@ -33,19 +33,19 @@ else
configs="$@"
fi
-cd "../../../coreboot/"
+cd "../../../../coreboot/"
for config in ${configs}; do
printf "Updating config for %s\n" "${config}"
sleep 2
- if [ ! -d "../resources/libreboot/config/${config}/" ]; then
+ if [ ! -d "../resources/libreboot/config/grub/${config}/" ]; then
printf "build/config/corebootupdate WARNING: config '%s' does not exist. Skipping.\n" "${config}"
continue
fi
- mv "../resources/libreboot/config/${config}/config" ".config"
+ mv "../resources/libreboot/config/grub/${config}/config" ".config"
make oldconfig
- mv ".config" "../resources/libreboot/config/${config}/config"
+ mv ".config" "../resources/libreboot/config/grub/${config}/config"
done
cd "../"