summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-01-01 22:04:58 +0000
committerLeah Rowe <leah@libreboot.org>2024-01-01 22:36:49 +0000
commit0b0812182989b4df540b29f91c5fc7af8d19b12c (patch)
treee7e419248673f6befa5e9863d57de846fbb57ddc /script/build
parent4870e84e711fe152c4d86c8e8d566d6d4059cf43 (diff)
build/roms: remove unused variable
the kmapdir variable is only used once, and just the string makes it obvious what this is for Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/roms3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/build/roms b/script/build/roms
index f69ff134..422a1135 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -15,7 +15,6 @@ seavgabiosrom="elf/seabios/default/libgfxinit/vgabios.bin"
grub_background="background1280x800.png"
grubelf="elf/grub/grub.elf"
cfgsdir="config/coreboot"
-kmapdir="config/grub/keymap"
# Disable all payloads by default.
# target.cfg files have to specifically enable [a] payload(s)
@@ -146,7 +145,7 @@ build_grub_payload()
x_ mkdir -p elf/grub
- for keymapfile in "${kmapdir}"/*.gkb; do
+ for keymapfile in config/grub/keymap/*.gkb; do
[ -f "${keymapfile}" ] || continue
keymaps="${keymaps} ${keymapfile}"