mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-29 09:18:54 +00:00
a4ba76fd90
Just some minor clean ups like fixing whitespace and sorting things. I added (bash)/removed (libusb) white space in order to look like the other modules. I sorted the --enable/--disable/--with blocks so that common stuff looked similar which should aid in comparing modules. I also removed a couple of duplicate config options (--disable-fallback-curses & --disable-regex). Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
41 lines
976 B
Makefile
41 lines
976 B
Makefile
# kbd: Linux keyboard tools
|
|
#
|
|
# Provides:
|
|
# - setfont - set the Linux console font
|
|
# - loadkeys - load a key map for the Linux console (CONFIG_KBD_LOADKEYS)
|
|
#
|
|
# To also provide showkey and dumpkeys (normally only needed for development),
|
|
# set CONFIG_KBD_DEVTOOLS=y.
|
|
modules-$(CONFIG_KBD) += kbd
|
|
|
|
kbd_version := 2.6.1
|
|
kbd_dir := kbd-$(kbd_version)
|
|
kbd_tar := kbd-$(kbd_version).tar.gz
|
|
kbd_url := https://www.kernel.org/pub/linux/utils/kbd/$(kbd_tar)
|
|
kbd_hash := aaed530a1490d63d041448372e2ad4f38c3179042903251000b71d527c46e945
|
|
|
|
kbd_configure := CFLAGS=-Os ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host i386-elf-linux \
|
|
--prefix "" \
|
|
--disable-libkeymap \
|
|
--disable-libkfont \
|
|
--disable-optional-progs \
|
|
--disable-vlock \
|
|
|
|
kbd_target := \
|
|
$(MAKE_JOBS) $(CROSS_TOOLS)
|
|
|
|
kbd_output := \
|
|
src/setfont
|
|
|
|
ifeq "$(CONFIG_KBD_LOADKEYS)" "y"
|
|
kbd_output += src/loadkeys
|
|
endif
|
|
|
|
ifeq "$(CONFIG_KBD_EXTRATOOLS)" "y"
|
|
kbd_output += src/showkey src/dumpkeys
|
|
endif
|
|
|
|
kbd_depends := $(musl_dep)
|