summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-28 13:57:03 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-28 13:57:03 (EDT)
commit46821c70a11422c0154d1dfa2746ed7db9bc3c75 (patch)
tree4cf3e9897415123312cd428dd6f269e1341d5663 /resources/scripts/helpers/build
parent09f162099645089d0763cf78f92ff13610ab23b3 (diff)
downloadlibreboot-46821c70a11422c0154d1dfa2746ed7db9bc3c75.zip
libreboot-46821c70a11422c0154d1dfa2746ed7db9bc3c75.tar.gz
libreboot-46821c70a11422c0154d1dfa2746ed7db9bc3c75.tar.bz2
coreboot-libre: move GRUB configs to grub/
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-xresources/scripts/helpers/build/roms/helper4
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub4
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper
index b032d3a..236b8da 100755
--- a/resources/scripts/helpers/build/roms/helper
+++ b/resources/scripts/helpers/build/roms/helper
@@ -51,11 +51,11 @@ if [ "${1}" = "qemu_i440fx_piix4" ] || [ "${1}" = "qemu_q35_ich9" ]
then
# assume that the default config enable framebuffer mode, duplicate and patch for text-mode
# necessary, otherwise it will ask you to enter the Y/X resolution of the framebuffer at build time
- cp "../resources/libreboot/config/${1}/config" "config_vesafb"
+ cp "../resources/libreboot/config/grub/${1}/config" "config_vesafb"
sed 's/CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/' < "config_vesafb" > "config_txtmode"
else
# assume that the default config enables text-mode, duplicate and patch for framebuffer mode
- cp "../resources/libreboot/config/${1}/config" "config_txtmode"
+ cp "../resources/libreboot/config/grub/${1}/config" "config_txtmode"
sed 's/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y/' < "config_txtmode" > "config_vesafb"
fi
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index c3b33c5..dbd89e1 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -38,7 +38,7 @@ if [ $# -gt 0 ]; then
boards="$@"
else
# build all ROM images
- boards="$(ls resources/libreboot/config/)"
+ boards="$(ls resources/libreboot/config/grub/)"
fi
@@ -70,7 +70,7 @@ cd ../
# Build ROM images for supported boards
for board in ${boards}
do
- if [ -f "resources/libreboot/config/${board}/config" ]; then
+ if [ -f "resources/libreboot/config/grub/${board}/config" ]; then
./build roms helper ${board}
fi
done