From 0b0812182989b4df540b29f91c5fc7af8d19b12c Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Mon, 1 Jan 2024 22:04:58 +0000
Subject: 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>
---
 script/build/roms | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'script')

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}"
-- 
cgit v1.2.1