Add grub-kbdcomp
This commit is contained in:
parent
9c9ec877cb
commit
88e543b519
2 changed files with 13 additions and 0 deletions
|
@ -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
6
util/grub-kbdcomp.in
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}`
|
||||
|
||||
ckbcomp "$@" | $grub_mklayout -o "$1".gkb
|
||||
|
Loading…
Reference in a new issue