aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-04 23:39:33 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-04 23:49:50 +0100
commitc136b69b4cc1e65b5aea333a727555e0a4ff2bab (patch)
tree1310b9c0f238f2a5bd3606afde5e253a79ed874e /resources/scripts/helpers/build
parent39354fba57f35c6f5a226deea7d71c4800a23676 (diff)
downloadlibrebootfr-c136b69b4cc1e65b5aea333a727555e0a4ff2bab.tar.gz
librebootfr-c136b69b4cc1e65b5aea333a727555e0a4ff2bab.zip
Update coreboot to the latest as of 4 August 2015
Diffstat (limited to 'resources/scripts/helpers/build')
-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 574e7aef..b71ff3ee 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 4377ff26..5df5f771 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 6e4ad672..0ecf0eb7 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 "../"