Add grub-kbdcomp

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-19 20:48:31 +02:00
parent 9c9ec877cb
commit 88e543b519
2 changed files with 13 additions and 0 deletions

View file

@ -180,6 +180,13 @@ CLEANFILES += grub-pe2elf
grub_macho2img_SOURCES = util/grub-macho2img.c
CLEANFILES += grub-macho2img
# For grub-kbdcomp
grub-kbdcomp: util/grub-kbdcomp.in config.status
./config.status --file=$@:$<
chmod +x $@
sbin_SCRIPTS += grub-kbdcomp
CLEANFILES += grub-kbdcomp
# For grub-mkconfig
grub-mkconfig: util/grub-mkconfig.in config.status
./config.status --file=$@:$<

6
util/grub-kbdcomp.in Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}`
ckbcomp "$@" | $grub_mklayout -o "$1".gkb