aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/keymaps
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-10-05 17:33:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-10-16 14:50:54 +0200
commit00f4914bae97c6eec750cddfffd9032aa2e26532 (patch)
tree07fba3bec46f6fd8a77190c1aee7911ed05c94dc /pc-bios/keymaps
parent6a021536e2390d4f74974381362b3e92ebe71f7e (diff)
Add pc-bios/keymaps/Makefile
Update files where I think I've figured the correct xkb maps. TODO: nl-be sl sv Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20171005153330.19210-3-kraxel@redhat.com
Diffstat (limited to 'pc-bios/keymaps')
-rw-r--r--pc-bios/keymaps/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/pc-bios/keymaps/Makefile b/pc-bios/keymaps/Makefile
new file mode 100644
index 0000000000..f0e44fd110
--- /dev/null
+++ b/pc-bios/keymaps/Makefile
@@ -0,0 +1,56 @@
+
+KEYMAP := $(shell which qemu-keymap 2>/dev/null)
+
+MAPS := ar bepo cz da de de-ch en-us en-gb es et fi fo \
+ fr fr-be fr-ca fr-ch \
+ hr hu is it ja lt lv mk nl no pl pt pt-br ru th tr
+
+ar : MAP_FLAGS := -l ar
+bepo : MAP_FLAGS := -l fr -v dvorak
+cz : MAP_FLAGS := -l cz
+da : MAP_FLAGS := -l dk
+de : MAP_FLAGS := -l de
+de-ch : MAP_FLAGS := -l ch
+en-us : MAP_FLAGS := -l us
+en-gb : MAP_FLAGS := -l gb
+es : MAP_FLAGS := -l es
+et : MAP_FLAGS := -l et
+fi : MAP_FLAGS := -l fi
+fo : MAP_FLAGS := -l fo
+fr : MAP_FLAGS := -l fr
+fr-be : MAP_FLAGS := -l be
+fr-ca : MAP_FLAGS := -l ca -v fr
+fr-ch : MAP_FLAGS := -l ch -v fr
+hr : MAP_FLAGS := -l hr
+hu : MAP_FLAGS := -l hu
+is : MAP_FLAGS := -l is
+it : MAP_FLAGS := -l it
+ja : MAP_FLAGS := -l jp -m jp106
+lt : MAP_FLAGS := -l lt
+lv : MAP_FLAGS := -l lv
+mk : MAP_FLAGS := -l mk
+nl : MAP_FLAGS := -l nl
+no : MAP_FLAGS := -l no
+pl : MAP_FLAGS := -l pl
+pt : MAP_FLAGS := -l pt
+pt-br : MAP_FLAGS := -l br
+ru : MAP_FLAGS := -l ru
+th : MAP_FLAGS := -l th
+tr : MAP_FLAGS := -l tr
+
+ifeq ($(KEYMAP),)
+
+all:
+ @echo "nothing to do (qemu-keymap not found)"
+
+else
+
+all: $(MAPS)
+
+clean:
+ rm -f $(MAPS)
+
+$(MAPS): $(KEYMAP) Makefile
+ $(KEYMAP) -f $@ $(MAP_FLAGS)
+
+endif